Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185155
b: refs/heads/master
c: 0fdc7a8
h: refs/heads/master
i:
  185153: 67102da
  185151: 4d178c6
v: v3
  • Loading branch information
Thomas Gleixner committed Feb 16, 2010
1 parent 53091e9 commit 9c566d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dade7716925a4e9a31f249f9ca1ed4e2f1495a8c
refs/heads/master: 0fdc7a8022c3eaff6b5ee27ffb9e913e5e58d8e9
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/apic/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,13 +416,13 @@ nmi_watchdog_tick(struct pt_regs *regs, unsigned reason)

/* We can be called before check_nmi_watchdog, hence NULL check. */
if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) {
static DEFINE_SPINLOCK(lock); /* Serialise the printks */
static DEFINE_RAW_SPINLOCK(lock); /* Serialise the printks */

spin_lock(&lock);
raw_spin_lock(&lock);
printk(KERN_WARNING "NMI backtrace for cpu %d\n", cpu);
show_regs(regs);
dump_stack();
spin_unlock(&lock);
raw_spin_unlock(&lock);
cpumask_clear_cpu(cpu, to_cpumask(backtrace_mask));

rc = 1;
Expand Down

0 comments on commit 9c566d1

Please sign in to comment.