[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] linux: compilation fix of linux/drivers/oprofile/oprof.c
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |