m68k: Add helper function handle_kernel_fault()
Add helper function handle_kernel_fault() in signal.c, so frame_extra_sizes can become static, and to avoid future code duplication. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
committed by
Geert Uytterhoeven
parent
521cb40b0c
commit
dcdf3a2935
@ -113,6 +113,8 @@ static inline void start_thread(struct pt_regs * regs, unsigned long pc,
|
||||
wrusp(usp);
|
||||
}
|
||||
|
||||
extern int handle_kernel_fault(struct pt_regs *regs);
|
||||
|
||||
#else
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user