Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147473
b: refs/heads/master
c: c0daaf3
h: refs/heads/master
i:
  147471: 8a61200
v: v3
  • Loading branch information
Paul Mackerras authored and Ingo Molnar committed May 18, 2009
1 parent 5e53f86 commit ac0874b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: dc3f81b129b5439ba7bac265bbc6a51a39275dae
refs/heads/master: c0daaf3f1f672defa3a45ca449b76d0e86c55892
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,11 @@ void hw_perf_enable(void)
int idx;

local_irq_save(flags);
cpuhw = &__get_cpu_var(cpu_hw_counters);
if (!cpuhw->disabled) {
local_irq_restore(flags);
return;
}

cpuhw = &__get_cpu_var(cpu_hw_counters);
cpuhw->disabled = 0;

/*
Expand Down

0 comments on commit ac0874b

Please sign in to comment.