Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62483
b: refs/heads/master
c: 57c22f4
h: refs/heads/master
i:
  62481: 6407895
  62479: bff50fd
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jul 22, 2007
1 parent eb253c8 commit 9cb0098
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: f25f64ed5bd3c2932493681bdfdb483ea707da0a
refs/heads/master: 57c22f49e4c7d27a03e109a317c30b12f1bae0b2
4 changes: 3 additions & 1 deletion trunk/arch/i386/kernel/cpu/perfctr-watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ static int setup_p6_watchdog(unsigned nmi_hz)
perfctr_msr = MSR_P6_PERFCTR0;
evntsel_msr = MSR_P6_EVNTSEL0;

wrmsrl(perfctr_msr, 0UL);
/* KVM doesn't implement this MSR */
if (wrmsr_safe(perfctr_msr, 0, 0) < 0)
return 0;

evntsel = P6_EVNTSEL_INT
| P6_EVNTSEL_OS
Expand Down

0 comments on commit 9cb0098

Please sign in to comment.