projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390a208
)
parisc: traps: Drop cpu_lpmc function pointer
author
Helge Deller
<deller@gmx.de>
Sat, 12 Aug 2023 20:50:27 +0000
(22:50 +0200)
committer
Helge Deller
<deller@gmx.de>
Sun, 20 Aug 2023 18:23:46 +0000
(20:23 +0200)
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>
arch/parisc/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/traps.c
b/arch/parisc/kernel/traps.c
index 3b97944c7291d4067951e0bdafcd175dc37ef123..1107ca819ac8cd7cf00bafcd6d469f8f3292fbbc 100644
(file)
--- 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: