Lines Matching +full:smp +full:- +full:offset
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1995-1999 Russell King
20 #define STACK_TOP ((current->personality & ADDR_LIMIT_32BIT) ? \
41 * Everything usercopied to/from thread_struct is statically-sized, so
44 static inline void arch_thread_struct_whitelist(unsigned long *offset, in arch_thread_struct_whitelist() argument
47 *offset = *size = 0; in arch_thread_struct_whitelist()
57 r7 = regs->ARM_r7; \
58 r8 = regs->ARM_r8; \
59 r9 = regs->ARM_r9; \
61 memset(regs->uregs, 0, sizeof(regs->uregs)); \
63 current->personality & FDPIC_FUNCPTRS) { \
64 regs->ARM_r7 = r7; \
65 regs->ARM_r8 = r8; \
66 regs->ARM_r9 = r9; \
67 regs->ARM_r10 = current->mm->start_data; \
69 regs->ARM_r10 = current->mm->start_data; \
70 if (current->personality & ADDR_LIMIT_32BIT) \
71 regs->ARM_cpsr = USR_MODE; \
73 regs->ARM_cpsr = USR26_MODE; \
75 regs->ARM_cpsr |= PSR_T_BIT; \
76 regs->ARM_cpsr |= PSR_ENDSTATE; \
77 regs->ARM_pc = pc & ~1; /* pc */ \
78 regs->ARM_sp = sp; /* sp */ \
87 ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1)
89 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc
90 #define KSTK_ESP(tsk) task_pt_regs(tsk)->ARM_sp
93 #define __ALT_SMP_ASM(smp, up) \ argument
94 "9998: " smp "\n" \
95 " .pushsection \".alt.smp.init\", \"a\"\n" \
97 " .long 9998b - .\n" \
101 #define __ALT_SMP_ASM(smp, up) up argument
105 * Prefetching support - only ARMv5.