[PATCH] cris: fix KSTK_EIP

cris KSTK_EIP looked for pt_regs at the right offset but from the wrong
place - forgotten ->thread_info

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Al Viro and committed by Linus Torvalds cfa0f29b 95ca0dc6

+2 -2
+1 -1
include/asm-cris/arch-v10/processor.h
··· 40 40 #define KSTK_EIP(tsk) \ 41 41 ({ \ 42 42 unsigned long eip = 0; \ 43 - unsigned long regs = (unsigned long)user_regs(tsk); \ 43 + unsigned long regs = (unsigned long)task_pt_regs(tsk); \ 44 44 if (regs > PAGE_SIZE && \ 45 45 virt_addr_valid(regs)) \ 46 46 eip = ((struct pt_regs *)regs)->irp; \
+1 -1
include/asm-cris/arch-v32/processor.h
··· 36 36 #define KSTK_EIP(tsk) \ 37 37 ({ \ 38 38 unsigned long eip = 0; \ 39 - unsigned long regs = (unsigned long)user_regs(tsk); \ 39 + unsigned long regs = (unsigned long)task_pt_regs(tsk); \ 40 40 if (regs > PAGE_SIZE && virt_addr_valid(regs)) \ 41 41 eip = ((struct pt_regs *)regs)->erp; \ 42 42 eip; \