| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | ; |
| 10 | |
| 11 | /* |
| 12 | * We don't use read_sysreg() as we want the compiler to cache the value where |
| 13 | * possible. |
| 14 | */ |
| 15 | static __always_inline struct task_struct * |
| 16 | |
| 17 | unsigned long sp_el0; |
| 18 | |
| 19 | asm ; |
| 20 | |
| 21 | return sp_el0; |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | /* __ASSEMBLER__ */ |
| 27 | |
| 28 | /* __ASM_CURRENT_H */ |
| 29 |