aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/processor.h')
-rw-r--r--include/asm-i386/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h
index 29ad87e9123f..feca5d961e2b 100644
--- a/include/asm-i386/processor.h
+++ b/include/asm-i386/processor.h
@@ -574,7 +574,7 @@ unsigned long get_wchan(struct task_struct *p);
574#define task_pt_regs(task) \ 574#define task_pt_regs(task) \
575({ \ 575({ \
576 struct pt_regs *__regs__; \ 576 struct pt_regs *__regs__; \
577 __regs__ = (struct pt_regs *)(KSTK_TOP((task)->thread_info)-8); \ 577 __regs__ = (struct pt_regs *)(KSTK_TOP(task_stack_page(task))-8); \
578 __regs__ - 1; \ 578 __regs__ - 1; \
579}) 579})
580 580