diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-08-29 08:45:13 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-18 22:27:52 +1100 |
commit | b020aa9d1e875c1c91b1390acdf42320e7060d84 (patch) | |
tree | 708845af5949cacdf74bc9d0a3c788f5638c6e9f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 44448640dd0df98891c5ea4695d89a4972cb4c1f (diff) |
powerpc: cleanup hw_irq.h
SET_MSR_EE() is just use in this file and doesn't provide
any added value compared to mtmsr(). Drop it.
Add a wrtee() inline function to use wrtee/wrteei insn.
Replace #ifdefs by IS_ENABLED()
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a28a20514d5f6df9629c1a117b667e48c4272736.1567068137.git.christophe.leroy@c-s.fr
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions