diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-04-25 08:10:52 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-05-19 08:57:13 +0300 |
commit | 1269f4d5c9022ddd53d62e9bfa89b2af08c934ea (patch) | |
tree | f68c29ff24ff981c8fb0cf8f459bcd04052219e6 /arch/arc/include | |
parent | e26081808edadfd257c6c9d81014e3b25e9a6118 (diff) | |
download | linux-1269f4d5c9022ddd53d62e9bfa89b2af08c934ea.tar.xz |
ARC: fix warning in sched due to thread_saved_pc()
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include')
-rw-r--r-- | arch/arc/include/asm/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |