diff options
author | Xiongwei Song <sxwjean@gmail.com> | 2021-04-14 14:00:33 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-17 15:20:19 +0300 |
commit | 7153d4bf0b373428d0393c001019da4d0483fddb (patch) | |
tree | 8c25d4cf53286ccb6aa8f7fc9c6f9b8657fb9b8c /arch/powerpc/kernel/watchdog.c | |
parent | 7de21e679e6a789f3729e8402bc440b623a28eae (diff) | |
download | linux-7153d4bf0b373428d0393c001019da4d0483fddb.tar.xz |
powerpc/traps: Enhance readability for trap types
Define macros to list ppc interrupt types in interttupt.h, replace the
reference of the trap hex values with these macros.
Referred the hex numbers in arch/powerpc/kernel/exceptions-64e.S,
arch/powerpc/kernel/exceptions-64s.S, arch/powerpc/kernel/head_*.S,
arch/powerpc/kernel/head_booke.h and arch/powerpc/include/asm/kvm_asm.h.
Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
[mpe: Resolve conflicts in nmi_disables_ftrace(), fix 40x build]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1618398033-13025-1-git-send-email-sxwjean@me.com
Diffstat (limited to 'arch/powerpc/kernel/watchdog.c')
0 files changed, 0 insertions, 0 deletions