Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147403
b: refs/heads/master
c: 19d84da
h: refs/heads/master
i:
  147401: 4c94956
  147399: 370022f
v: v3
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Apr 29, 2009
1 parent 7cc96d1 commit 61e7738
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ef7b3e09ffdcd5200aea9523f6b56d331d1c4fc0
refs/heads/master: 19d84dab55a383d75c885b5c1a618f5ead96f2f6
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/cpu/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ void hw_perf_restore(u64 ctrl)
*/
EXPORT_SYMBOL_GPL(hw_perf_restore);

static inline u64 intel_pmu_get_status(u64 mask)
static inline u64 intel_pmu_get_status(void)
{
u64 status;

Expand Down Expand Up @@ -728,7 +728,7 @@ static int intel_pmu_handle_irq(struct pt_regs *regs, int nmi)

cpuc->throttle_ctrl = intel_pmu_save_disable_all();

status = intel_pmu_get_status(cpuc->throttle_ctrl);
status = intel_pmu_get_status();
if (!status)
goto out;

Expand All @@ -753,7 +753,7 @@ static int intel_pmu_handle_irq(struct pt_regs *regs, int nmi)
/*
* Repeat if there is more work to be done:
*/
status = intel_pmu_get_status(cpuc->throttle_ctrl);
status = intel_pmu_get_status();
if (status)
goto again;
out:
Expand Down

0 comments on commit 61e7738

Please sign in to comment.