From 1269f4d5c9022ddd53d62e9bfa89b2af08c934ea Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Sat, 25 Apr 2015 10:40:52 +0530 Subject: [PATCH] ARC: fix warning in sched due to thread_saved_pc() Signed-off-by: Vineet Gupta --- arch/arc/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/include/asm/processor.h b/arch/arc/include/asm/processor.h index 52312cb5dbe2..649e4398ed8e 100644 --- a/arch/arc/include/asm/processor.h +++ b/arch/arc/include/asm/processor.h @@ -77,7 +77,7 @@ struct task_struct; */ #define TSK_K_ESP(tsk) (tsk->thread.ksp) -#define TSK_K_REG(tsk, off) (*((unsigned int *)(TSK_K_ESP(tsk) + \ +#define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ sizeof(struct callee_regs) + off))) #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) -- GitLab