]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/perf: Fix misleading comment in pmao_restore_workaround()
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Fri, 4 Mar 2016 05:01:49 +0000 (10:31 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Mar 2016 12:00:23 +0000 (23:00 +1100)
commit58bffb5bbb238d56e8818acb463cce990021fa32
tree7a0574a06f6882593f9349c2c7e9627d109cd066
parent8f69dc701aac170421117adf7e04d8ec7031a05f
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>
arch/powerpc/perf/core-book3s.c