aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-12 22:50:27 +0200
committerHelge Deller <deller@gmx.de>2023-08-20 20:23:46 +0200
commit75c6d0836e8aeb4287744d3631aa2fe204df6a9a (patch)
tree025a0af6ca9d735866b7a7cd6c9f89e02acf85e0 /arch/parisc
parent390a2086a4c6a325d9cc4e3e22b68b440a08cd9f (diff)
downloadlinux-75c6d0836e8aeb4287744d3631aa2fe204df6a9a.tar.gz
parisc: traps: Drop cpu_lpmc function pointer
This function pointer is only used by one function, so no need to keep such an indirection. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/traps.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index 3b97944c7291d..1107ca819ac8c 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -335,9 +335,6 @@ static void default_trap(int code, struct pt_regs *regs)
show_regs(regs);
}
-void (*cpu_lpmc) (int code, struct pt_regs *regs) __read_mostly = default_trap;
-
-
static void transfer_pim_to_trap_frame(struct pt_regs *regs)
{
register int i;
@@ -557,7 +554,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
flush_cache_all();
flush_tlb_all();
- cpu_lpmc(5, regs);
+ default_trap(code, regs);
return;
case PARISC_ITLB_TRAP: