ARC: fix warning in sched due to thread_saved_pc()
authorVineet Gupta <vgupta@synopsys.com>
Sat, 25 Apr 2015 05:10:52 +0000 (10:40 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Tue, 19 May 2015 05:57:13 +0000 (11:27 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/processor.h

index 52312cb5dbe21490b48e21343ab8f82b7eecfc0e..649e4398ed8e32b2d0effea2c45e48da8e0be386 100644 (file)
@@ -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)