mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 22:40:55 +07: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