projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e260818
)
ARC: fix warning in sched due to thread_saved_pc()
author
Vineet Gupta
<vgupta@synopsys.com>
Sat, 25 Apr 2015 05:10:52 +0000
(10:40 +0530)
committer
Vineet 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/arc/include/asm/processor.h
b/arch/arc/include/asm/processor.h
index 52312cb5dbe21490b48e21343ab8f82b7eecfc0e..649e4398ed8e32b2d0effea2c45e48da8e0be386 100644
(file)
--- 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)