mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 03:51:48 +00:00
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>
This commit is contained in:
parent
8f69dc701a
commit
58bffb5bbb
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user