projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8177e6
)
x86/watchdog: Tweak implementation given new common code
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Tue, 13 Aug 2013 12:30:44 +0000
(14:30 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 13 Aug 2013 12:30:44 +0000
(14:30 +0200)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/nmi.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/nmi.c
b/xen/arch/x86/nmi.c
index 3eb245683684777f8902f8aa9e77cb380546fc9a..2c16d937e0e3ed110d7b58ee3598bbdaca175073 100644
(file)
--- a/
xen/arch/x86/nmi.c
+++ b/
xen/arch/x86/nmi.c
@@
-435,8
+435,7
@@
void nmi_watchdog_tick(struct cpu_user_regs * regs)
{
unsigned int sum = this_cpu(nmi_timer_ticks);
- if ( (this_cpu(last_irq_sums) == sum) &&
- !atomic_read(&watchdog_disable_count) )
+ if ( (this_cpu(last_irq_sums) == sum) && watchdog_enabled() )
{
/*
* Ayiee, looks like this CPU is stuck ... wait for the timeout