diff options
Diffstat (limited to 'arch/x86/mm/fault.c')
-rw-r--r-- | arch/x86/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 8f4e2ac93928..f62777940dfb 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
@@ -659,7 +659,7 @@ no_context(struct pt_regs *regs, unsigned long error_code, | |||
659 | show_fault_oops(regs, error_code, address); | 659 | show_fault_oops(regs, error_code, address); |
660 | 660 | ||
661 | stackend = end_of_stack(tsk); | 661 | stackend = end_of_stack(tsk); |
662 | if (*stackend != STACK_END_MAGIC) | 662 | if (tsk != &init_task && *stackend != STACK_END_MAGIC) |
663 | printk(KERN_ALERT "Thread overran stack, or stack corrupted\n"); | 663 | printk(KERN_ALERT "Thread overran stack, or stack corrupted\n"); |
664 | 664 | ||
665 | tsk->thread.cr2 = address; | 665 | tsk->thread.cr2 = address; |