Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53743
b: refs/heads/master
c: bf8696e
h: refs/heads/master
i:
  53741: f541e7d
  53739: 2b1c0c5
  53735: 27e27f0
  53727: 074a11d
v: v3
  • Loading branch information
Stephane Eranian authored and Andi Kleen committed May 2, 2007
1 parent e888460 commit ff6d070
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 803d80f65038f77c4681a0d7708e9d693e68aaa8
refs/heads/master: bf8696ed6dfa561198b4736deaf11ab68dcc4845
8 changes: 4 additions & 4 deletions trunk/arch/i386/kernel/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static int __init check_nmi_watchdog(void)
nmi_hz = 1;

if (wd->perfctr_msr == MSR_P6_PERFCTR0 ||
wd->perfctr_msr == MSR_ARCH_PERFMON_PERFCTR0) {
wd->perfctr_msr == MSR_ARCH_PERFMON_PERFCTR1) {
nmi_hz = adjust_for_32bit_ctr(nmi_hz);
}
}
Expand Down Expand Up @@ -799,8 +799,8 @@ static int setup_intel_arch_watchdog(void)
(ebx & ARCH_PERFMON_UNHALTED_CORE_CYCLES_PRESENT))
goto fail;

perfctr_msr = MSR_ARCH_PERFMON_PERFCTR0;
evntsel_msr = MSR_ARCH_PERFMON_EVENTSEL0;
perfctr_msr = MSR_ARCH_PERFMON_PERFCTR1;
evntsel_msr = MSR_ARCH_PERFMON_EVENTSEL1;

if (!__reserve_perfctr_nmi(-1, perfctr_msr))
goto fail;
Expand Down Expand Up @@ -1080,7 +1080,7 @@ __kprobes int nmi_watchdog_tick(struct pt_regs * regs, unsigned reason)
write_watchdog_counter(wd->perfctr_msr, NULL);
}
else if (wd->perfctr_msr == MSR_P6_PERFCTR0 ||
wd->perfctr_msr == MSR_ARCH_PERFMON_PERFCTR0) {
wd->perfctr_msr == MSR_ARCH_PERFMON_PERFCTR1) {
/* P6 based Pentium M need to re-unmask
* the apic vector but it doesn't hurt
* other P6 variant.
Expand Down

0 comments on commit ff6d070

Please sign in to comment.