diff options
Diffstat (limited to 'arch/arm64/include/asm/processor.h')
-rw-r--r-- | arch/arm64/include/asm/processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h index 34de2a8f7d93..77712454486b 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h | |||
@@ -137,8 +137,8 @@ extern struct task_struct *cpu_switch_to(struct task_struct *prev, | |||
137 | #define task_pt_regs(p) \ | 137 | #define task_pt_regs(p) \ |
138 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) | 138 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) |
139 | 139 | ||
140 | #define KSTK_EIP(tsk) task_pt_regs(tsk)->pc | 140 | #define KSTK_EIP(tsk) ((unsigned long)task_pt_regs(tsk)->pc) |
141 | #define KSTK_ESP(tsk) task_pt_regs(tsk)->sp | 141 | #define KSTK_ESP(tsk) ((unsigned long)task_pt_regs(tsk)->sp) |
142 | 142 | ||
143 | /* | 143 | /* |
144 | * Prefetching support | 144 | * Prefetching support |