diff options
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68knommu/kernel/process.c b/arch/m68knommu/kernel/process.c index 941955dc3b7c..846f97534685 100644 --- a/arch/m68knommu/kernel/process.c +++ b/arch/m68knommu/kernel/process.c | |||
@@ -377,7 +377,7 @@ unsigned long get_wchan(struct task_struct *p) | |||
377 | fp = ((struct switch_stack *)p->thread.ksp)->a6; | 377 | fp = ((struct switch_stack *)p->thread.ksp)->a6; |
378 | do { | 378 | do { |
379 | if (fp < stack_page+sizeof(struct thread_info) || | 379 | if (fp < stack_page+sizeof(struct thread_info) || |
380 | fp >= 8184+stack_page) | 380 | fp >= THREAD_SIZE-8+stack_page) |
381 | return 0; | 381 | return 0; |
382 | pc = ((unsigned long *)fp)[1]; | 382 | pc = ((unsigned long *)fp)[1]; |
383 | if (!in_sched_functions(pc)) | 383 | if (!in_sched_functions(pc)) |