Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147402
b: refs/heads/master
c: ef7b3e0
h: refs/heads/master
v: v3
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Apr 29, 2009
1 parent 4c94956 commit 7cc96d1
Show file tree
Hide file tree
Showing 2 changed files with 2 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: c619b8ffb1cec6a431687a35695dc6fd292a79e6
refs/heads/master: ef7b3e09ffdcd5200aea9523f6b56d331d1c4fc0
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/cpu/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ fixed_mode_idx(struct perf_counter *counter, struct hw_perf_counter *hwc)
{
unsigned int event;

if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
if (!x86_pmu.num_counters_fixed)
return -1;

if (unlikely(hwc->nmi))
Expand Down

0 comments on commit 7cc96d1

Please sign in to comment.