diff options
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 9f307eb1a31e..ec8209f3a0c6 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -358,10 +358,8 @@ static int __init frame_info_init(void) | |||
358 | unsigned long size = 0; | 358 | unsigned long size = 0; |
359 | #ifdef CONFIG_KALLSYMS | 359 | #ifdef CONFIG_KALLSYMS |
360 | unsigned long ofs; | 360 | unsigned long ofs; |
361 | char *modname; | ||
362 | char namebuf[KSYM_NAME_LEN + 1]; | ||
363 | 361 | ||
364 | kallsyms_lookup((unsigned long)schedule, &size, &ofs, &modname, namebuf); | 362 | kallsyms_lookup_size_offset((unsigned long)schedule, &size, &ofs); |
365 | #endif | 363 | #endif |
366 | schedule_mfi.func = schedule; | 364 | schedule_mfi.func = schedule; |
367 | schedule_mfi.func_size = size; | 365 | schedule_mfi.func_size = size; |
@@ -403,8 +401,6 @@ unsigned long unwind_stack(struct task_struct *task, unsigned long *sp, | |||
403 | { | 401 | { |
404 | unsigned long stack_page; | 402 | unsigned long stack_page; |
405 | struct mips_frame_info info; | 403 | struct mips_frame_info info; |
406 | char *modname; | ||
407 | char namebuf[KSYM_NAME_LEN + 1]; | ||
408 | unsigned long size, ofs; | 404 | unsigned long size, ofs; |
409 | int leaf; | 405 | int leaf; |
410 | extern void ret_from_irq(void); | 406 | extern void ret_from_irq(void); |
@@ -433,7 +429,7 @@ unsigned long unwind_stack(struct task_struct *task, unsigned long *sp, | |||
433 | } | 429 | } |
434 | return 0; | 430 | return 0; |
435 | } | 431 | } |
436 | if (!kallsyms_lookup(pc, &size, &ofs, &modname, namebuf)) | 432 | if (!kallsyms_lookup_size_offset(pc, &size, &ofs)) |
437 | return 0; | 433 | return 0; |
438 | /* | 434 | /* |
439 | * Return ra if an exception occured at the first instruction | 435 | * Return ra if an exception occured at the first instruction |