diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-02-23 02:16:34 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-02-27 02:26:19 -0500 |
commit | 4f099ebb27211d378304ddcfa507097f5128f5b9 (patch) | |
tree | 5fdffb1e53b9c4b967eb86ada8eed14eafb763ff /arch/sh/include | |
parent | 1dd22722f6bf9be9821657a2d59fae4d4365fb32 (diff) |
sh: remove EXPEVT vector from stack on sh3/sh4/sh4a
Remove EXPEVT vector from the stack, lookup_exception_vector()
for sh3/sh4/sh4a is already using k2 to get the vector.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/ptrace.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/sh/include/asm/ptrace.h b/arch/sh/include/asm/ptrace.h index 12912ab80c15..81c6568fdb3e 100644 --- a/arch/sh/include/asm/ptrace.h +++ b/arch/sh/include/asm/ptrace.h | |||
@@ -122,14 +122,12 @@ extern void user_disable_single_step(struct task_struct *); | |||
122 | #ifdef CONFIG_SH_DSP | 122 | #ifdef CONFIG_SH_DSP |
123 | #define task_pt_regs(task) \ | 123 | #define task_pt_regs(task) \ |
124 | ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \ | 124 | ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \ |
125 | - sizeof(struct pt_dspregs) - sizeof(unsigned long)) - 1) | 125 | - sizeof(struct pt_dspregs)) - 1) |
126 | #define task_pt_dspregs(task) \ | 126 | #define task_pt_dspregs(task) \ |
127 | ((struct pt_dspregs *) (task_stack_page(task) + THREAD_SIZE \ | 127 | ((struct pt_dspregs *) (task_stack_page(task) + THREAD_SIZE) - 1) |
128 | - sizeof(unsigned long)) - 1) | ||
129 | #else | 128 | #else |
130 | #define task_pt_regs(task) \ | 129 | #define task_pt_regs(task) \ |
131 | ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \ | 130 | ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1) |
132 | - sizeof(unsigned long)) - 1) | ||
133 | #endif | 131 | #endif |
134 | 132 | ||
135 | static inline unsigned long profile_pc(struct pt_regs *regs) | 133 | static inline unsigned long profile_pc(struct pt_regs *regs) |