Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99783
b: refs/heads/master
c: 7496b60
h: refs/heads/master
i:
  99781: 5444678
  99779: c19d087
  99775: 8526bb5
v: v3
  • Loading branch information
Mike Travis authored and Ingo Molnar committed Jul 8, 2008
1 parent 24e777f commit 3462faa
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: dbb6152e6f72df367f8a955586c5e6282a7255e5
refs/heads/master: 7496b60654e759d0b9008b80908e80727904b3c4
4 changes: 2 additions & 2 deletions trunk/arch/x86/kernel/nmi_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ int __init check_nmi_watchdog(void)
if (!atomic_read(&nmi_active))
return 0;

prev_nmi_count = kmalloc(NR_CPUS * sizeof(int), GFP_KERNEL);
prev_nmi_count = kmalloc(nr_cpu_ids * sizeof(int), GFP_KERNEL);
if (!prev_nmi_count)
return -1;

Expand All @@ -99,7 +99,7 @@ int __init check_nmi_watchdog(void)
smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0);
#endif

for (cpu = 0; cpu < NR_CPUS; cpu++)
for (cpu = 0; cpu < nr_cpu_ids; cpu++)
prev_nmi_count[cpu] = cpu_pda(cpu)->__nmi_count;
local_irq_enable();
mdelay((20*1000)/nmi_hz); // wait 20 ticks
Expand Down

0 comments on commit 3462faa

Please sign in to comment.