Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57832
b: refs/heads/master
c: faa4cfa
h: refs/heads/master
v: v3
  • Loading branch information
Björn Steinbrink authored and Linus Torvalds committed Jun 16, 2007
1 parent 44d8a3b commit 9b37e63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38ad2ed08d89a4b830a03131fa73e4ef3e98d9f4
refs/heads/master: faa4cfa6b334fc07c3386e620a2fb55de508c077
6 changes: 6 additions & 0 deletions trunk/arch/i386/kernel/cpu/perfctr-watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,12 @@ int lapic_watchdog_init(unsigned nmi_hz)
probe_nmi_watchdog();
if (!wd_ops)
return -1;

if (!wd_ops->reserve()) {
printk(KERN_ERR
"NMI watchdog: cannot reserve perfctrs\n");
return -1;
}
}

if (!(wd_ops->setup(nmi_hz))) {
Expand Down

0 comments on commit 9b37e63

Please sign in to comment.