diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2008-11-18 15:25:17 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-03-16 14:10:40 -0400 |
commit | dcdf3a293522e6ef09d8b3650ac1ceec56438e5d (patch) | |
tree | d890d29cd098f39aa742c16eec404e90ef6bd1bc /arch/m68k/include | |
parent | 521cb40b0c44418a4fd36dc633f575813d59a43d (diff) |
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>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/processor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h index 278c69bad57a..f111b02b704f 100644 --- a/arch/m68k/include/asm/processor.h +++ b/arch/m68k/include/asm/processor.h | |||
@@ -113,6 +113,8 @@ static inline void start_thread(struct pt_regs * regs, unsigned long pc, | |||
113 | wrusp(usp); | 113 | wrusp(usp); |
114 | } | 114 | } |
115 | 115 | ||
116 | extern int handle_kernel_fault(struct pt_regs *regs); | ||
117 | |||
116 | #else | 118 | #else |
117 | 119 | ||
118 | /* | 120 | /* |