diff options
Diffstat (limited to 'arch/mips/kernel/process.c')
-rw-r--r-- | arch/mips/kernel/process.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index 93d5432759db..da332d707ce5 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -370,15 +370,15 @@ static int __init frame_info_init(void) | |||
370 | mfinfo[0].func = schedule; | 370 | mfinfo[0].func = schedule; |
371 | schedule_frame = &mfinfo[0]; | 371 | schedule_frame = &mfinfo[0]; |
372 | #endif | 372 | #endif |
373 | for (i = 0; i < ARRAY_SIZE(mfinfo) && mfinfo[i].func; i++) { | 373 | for (i = 0; i < ARRAY_SIZE(mfinfo) && mfinfo[i].func; i++) |
374 | struct mips_frame_info *info = &mfinfo[i]; | 374 | get_frame_info(mfinfo + i); |
375 | if (get_frame_info(info)) { | 375 | |
376 | /* leaf or unknown */ | 376 | /* |
377 | if (info->func == schedule) | 377 | * Without schedule() frame info, result given by |
378 | printk("Can't analyze prologue code at %p\n", | 378 | * thread_saved_pc() and get_wchan() are not reliable. |
379 | info->func); | 379 | */ |
380 | } | 380 | if (schedule_frame->pc_offset < 0) |
381 | } | 381 | printk("Can't analyze schedule() prologue at %p\n", schedule); |
382 | 382 | ||
383 | mfinfo_num = i; | 383 | mfinfo_num = i; |
384 | return 0; | 384 | return 0; |