diff options
Diffstat (limited to 'arch/sh/include/asm/processor_32.h')
-rw-r--r-- | arch/sh/include/asm/processor_32.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/include/asm/processor_32.h b/arch/sh/include/asm/processor_32.h index 2bfb7353493a..d79063c5eb9c 100644 --- a/arch/sh/include/asm/processor_32.h +++ b/arch/sh/include/asm/processor_32.h | |||
@@ -175,7 +175,15 @@ static __inline__ void enable_fpu(void) | |||
175 | 175 | ||
176 | void show_trace(struct task_struct *tsk, unsigned long *sp, | 176 | void show_trace(struct task_struct *tsk, unsigned long *sp, |
177 | struct pt_regs *regs); | 177 | struct pt_regs *regs); |
178 | |||
179 | #ifdef CONFIG_DUMP_CODE | ||
178 | void show_code(struct pt_regs *regs); | 180 | void show_code(struct pt_regs *regs); |
181 | #else | ||
182 | static inline void show_code(struct pt_regs *regs) | ||
183 | { | ||
184 | } | ||
185 | #endif | ||
186 | |||
179 | extern unsigned long get_wchan(struct task_struct *p); | 187 | extern unsigned long get_wchan(struct task_struct *p); |
180 | 188 | ||
181 | #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) | 189 | #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) |