JustOS/linux-6.13/arch/arm64/include/asm/stack_pointer.h
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00

11 lines
247 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_STACK_POINTER_H
#define __ASM_STACK_POINTER_H
/*
* how to get the current stack pointer from C
*/
register unsigned long current_stack_pointer asm ("sp");
#endif /* __ASM_STACK_POINTER_H */