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