xref: /openbmc/linux/arch/arm64/include/asm/stack_pointer.h (revision ee2409510cf41556bd5d108711e08d0c6e9e8c23)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_STACK_POINTER_H
3 #define __ASM_STACK_POINTER_H
4 
5 /*
6  * how to get the current stack pointer from C
7  */
8 register unsigned long current_stack_pointer asm ("sp");
9 
10 #endif /* __ASM_STACK_POINTER_H */
11