Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60776
b: refs/heads/master
c: f289025
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jul 17, 2007
1 parent 556d1aa commit 9ad41d0
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 1c978b935e81da9434342f0bc8263c6cfe1214ce
refs/heads/master: f2890255b0ade497893d1e5e99f519b5c1d50f7d
8 changes: 5 additions & 3 deletions trunk/arch/i386/kernel/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ static unsigned int
last_irq_sums [NR_CPUS],
alert_counter [NR_CPUS];

void touch_nmi_watchdog (void)
void touch_nmi_watchdog(void)
{
if (nmi_watchdog > 0) {
unsigned cpu;
Expand All @@ -304,8 +304,10 @@ void touch_nmi_watchdog (void)
* Just reset the alert counters, (other CPUs might be
* spinning on locks we hold):
*/
for_each_present_cpu (cpu)
alert_counter[cpu] = 0;
for_each_present_cpu(cpu) {
if (alert_counter[cpu])
alert_counter[cpu] = 0;
}
}

/*
Expand Down

0 comments on commit 9ad41d0

Please sign in to comment.