WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] linux: compilation fix of linux/drivers/o

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] linux: compilation fix of linux/drivers/oprofile/oprof.c
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 02 Feb 2007 10:45:10 -0800
Delivery-date: Fri, 02 Feb 2007 10:45:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1170431550 0
# Node ID a39a2f18429c0f7a811657548f45863aff18e415
# Parent  82171212156b9b4133b0e1735a6a2daec078af99
linux: compilation fix of linux/drivers/oprofile/oprof.c
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 patches/linux-2.6.18/xenoprof-generic.patch |    4 ----
 1 files changed, 4 deletions(-)

diff -r 82171212156b -r a39a2f18429c patches/linux-2.6.18/xenoprof-generic.patch
--- a/patches/linux-2.6.18/xenoprof-generic.patch       Fri Feb 02 15:50:27 
2007 +0000
+++ b/patches/linux-2.6.18/xenoprof-generic.patch       Fri Feb 02 15:52:30 
2007 +0000
@@ -363,9 +363,9 @@ diff -pruN ../orig-linux-2.6.18/drivers/
 +      if (!oprofile_ops.set_active)
 +              return -EINVAL;
 +
-+      down(&start_sem);
++      mutex_lock(&start_mutex);
 +      err = oprofile_ops.set_active(active_domains, adomains);
-+      up(&start_sem);
++      mutex_unlock(&start_mutex);
 +      return err;
 +}
 +
@@ -376,9 +376,9 @@ diff -pruN ../orig-linux-2.6.18/drivers/
 +      if (!oprofile_ops.set_passive)
 +              return -EINVAL;
 +
-+      down(&start_sem);
++      mutex_lock(&start_mutex);
 +      err = oprofile_ops.set_passive(passive_domains, pdomains);
-+      up(&start_sem);
++      mutex_unlock(&start_mutex);
 +      return err;
 +}
 +

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] linux: compilation fix of linux/drivers/oprofile/oprof.c, Xen patchbot-unstable <=