aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/oprofile
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-12-13 11:36:35 +0100
committerJan Beulich <jbeulich@suse.com>2011-12-13 11:36:35 +0100
commitdd02b58523c43bf517bb6e9d69b4983068e6b89c (patch)
tree12e026933e44834dd148f5591783911750d1fe7d /xen/arch/x86/oprofile
parentfca703871175e50e18cd12f92eebd4b2b25b8c95 (diff)
downloadxen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.tar.gz
xen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.tar.bz2
xen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.zip
remove the use of -Wno-unused-value
It has been hiding actual mistakes, and there are not too many changes necessary to make things build without suppressing this warning. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/oprofile')
-rw-r--r--xen/arch/x86/oprofile/nmi_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/oprofile/nmi_int.c b/xen/arch/x86/oprofile/nmi_int.c
index 70930b245a..a58a0e9892 100644
--- a/xen/arch/x86/oprofile/nmi_int.c
+++ b/xen/arch/x86/oprofile/nmi_int.c
@@ -92,7 +92,7 @@ static int nmi_callback(struct cpu_user_regs *regs, int cpu)
send_guest_vcpu_virq(current, VIRQ_XENOPROF);
if ( ovf == 2 )
- test_and_set_bool(current->nmi_pending);
+ current->nmi_pending = 1;
return 1;
}