diff options
Diffstat (limited to 'arch/v850')
-rw-r--r-- | arch/v850/kernel/process.c | 24 | ||||
-rw-r--r-- | arch/v850/kernel/v850_ksyms.c | 2 |
2 files changed, 0 insertions, 26 deletions
diff --git a/arch/v850/kernel/process.c b/arch/v850/kernel/process.c index 39cf247cdae4..062ffa0a9998 100644 --- a/arch/v850/kernel/process.c +++ b/arch/v850/kernel/process.c | |||
@@ -164,30 +164,6 @@ int copy_thread (int nr, unsigned long clone_flags, | |||
164 | } | 164 | } |
165 | 165 | ||
166 | /* | 166 | /* |
167 | * fill in the user structure for a core dump.. | ||
168 | */ | ||
169 | void dump_thread (struct pt_regs *regs, struct user *dump) | ||
170 | { | ||
171 | #if 0 /* Later. XXX */ | ||
172 | dump->magic = CMAGIC; | ||
173 | dump->start_code = 0; | ||
174 | dump->start_stack = regs->gpr[GPR_SP]; | ||
175 | dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; | ||
176 | dump->u_dsize = ((unsigned long) (current->mm->brk + | ||
177 | (PAGE_SIZE-1))) >> PAGE_SHIFT; | ||
178 | dump->u_dsize -= dump->u_tsize; | ||
179 | dump->u_ssize = 0; | ||
180 | |||
181 | if (dump->start_stack < TASK_SIZE) | ||
182 | dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT; | ||
183 | |||
184 | dump->u_ar0 = (struct user_regs_struct *)((int)&dump->regs - (int)dump); | ||
185 | dump->regs = *regs; | ||
186 | dump->u_fpvalid = 0; | ||
187 | #endif | ||
188 | } | ||
189 | |||
190 | /* | ||
191 | * sys_execve() executes a new program. | 167 | * sys_execve() executes a new program. |
192 | */ | 168 | */ |
193 | int sys_execve (char *name, char **argv, char **envp, struct pt_regs *regs) | 169 | int sys_execve (char *name, char **argv, char **envp, struct pt_regs *regs) |
diff --git a/arch/v850/kernel/v850_ksyms.c b/arch/v850/kernel/v850_ksyms.c index 0ca64900dd91..8ffc29c1c89d 100644 --- a/arch/v850/kernel/v850_ksyms.c +++ b/arch/v850/kernel/v850_ksyms.c | |||
@@ -21,8 +21,6 @@ extern void *trap_table; | |||
21 | EXPORT_SYMBOL (trap_table); | 21 | EXPORT_SYMBOL (trap_table); |
22 | 22 | ||
23 | /* platform dependent support */ | 23 | /* platform dependent support */ |
24 | extern void dump_thread (struct pt_regs *, struct user *); | ||
25 | EXPORT_SYMBOL (dump_thread); | ||
26 | EXPORT_SYMBOL (kernel_thread); | 24 | EXPORT_SYMBOL (kernel_thread); |
27 | EXPORT_SYMBOL (enable_irq); | 25 | EXPORT_SYMBOL (enable_irq); |
28 | EXPORT_SYMBOL (disable_irq); | 26 | EXPORT_SYMBOL (disable_irq); |