diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2016-03-04 06:01:49 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-10 13:00:23 +0100 |
commit | 58bffb5bbb238d56e8818acb463cce990021fa32 (patch) | |
tree | 7a0574a06f6882593f9349c2c7e9627d109cd066 /arch/powerpc/perf | |
parent | powerpc/perf/24x7: Eliminate domain suffix in event names (diff) | |
download | linux-58bffb5bbb238d56e8818acb463cce990021fa32.tar.xz linux-58bffb5bbb238d56e8818acb463cce990021fa32.zip |
powerpc/perf: Fix misleading comment in pmao_restore_workaround()
The current comment in pmao_restore_workaround() regarding
hard_irq_disable() is wrong. It should say to hard *disable* interrupts
instead of *enable*. Fix it.
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf')
-rw-r--r-- | arch/powerpc/perf/core-book3s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/perf/core-book3s.c b/arch/powerpc/perf/core-book3s.c index d1e65ce545b3..97a1d40d8696 100644 --- a/arch/powerpc/perf/core-book3s.c +++ b/arch/powerpc/perf/core-book3s.c @@ -651,7 +651,7 @@ static void pmao_restore_workaround(bool ebb) /* * We are already soft-disabled in power_pmu_enable(). We need to hard - * enable to actually prevent the PMU exception from firing. + * disable to actually prevent the PMU exception from firing. */ hard_irq_disable(); |