Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73400
b: refs/heads/master
c: 0492007
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Nov 9, 2007
1 parent 7a98f08 commit 7448a23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4e2947f12516d13446d6ffa1d9e4fbd33b1636fa
refs/heads/master: 0492007ed9b53f6a2a2f983910d0fe7c97b09822
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/nmi_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ static int unknown_nmi_panic_callback(struct pt_regs *regs, int cpu);

static int endflag __initdata = 0;

#ifdef CONFIG_SMP
/* The performance counters used by NMI_LOCAL_APIC don't trigger when
* the CPU is idle. To make sure the NMI watchdog really ticks on all
* CPUs during the test make them busy.
*/
static __init void nmi_cpu_busy(void *data)
{
#ifdef CONFIG_SMP
local_irq_enable_in_hardirq();
/* Intentionally don't use cpu_relax here. This is
to make sure that the performance counter really ticks,
Expand All @@ -67,8 +67,8 @@ static __init void nmi_cpu_busy(void *data)
care if they get somewhat less cycles. */
while (endflag == 0)
mb();
}
#endif
}

static int __init check_nmi_watchdog(void)
{
Expand Down

0 comments on commit 7448a23

Please sign in to comment.