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:
Roman Zippel
2008-11-18 21:25:17 +01:00
committed by Geert Uytterhoeven
parent 521cb40b0c
commit dcdf3a2935
3 changed files with 26 additions and 16 deletions

View File

@ -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
/*