mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
ARC: fix warning in sched due to thread_saved_pc()
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
parent
e26081808e
commit
1269f4d5c9
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ struct task_struct;
|
||||||
*/
|
*/
|
||||||
#define TSK_K_ESP(tsk) (tsk->thread.ksp)
|
#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)))
|
sizeof(struct callee_regs) + off)))
|
||||||
|
|
||||||
#define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4)
|
#define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4)
|
||||||
|
|
Loading…
Reference in a new issue