Commit 75c6d083 authored by Helge Deller's avatar Helge Deller

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: default avatarHelge Deller <deller@gmx.de>
parent 390a2086
...@@ -335,9 +335,6 @@ static void default_trap(int code, struct pt_regs *regs) ...@@ -335,9 +335,6 @@ static void default_trap(int code, struct pt_regs *regs)
show_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) static void transfer_pim_to_trap_frame(struct pt_regs *regs)
{ {
register int i; register int i;
...@@ -557,7 +554,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs) ...@@ -557,7 +554,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
flush_cache_all(); flush_cache_all();
flush_tlb_all(); flush_tlb_all();
cpu_lpmc(5, regs); default_trap(code, regs);
return; return;
case PARISC_ITLB_TRAP: case PARISC_ITLB_TRAP:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment