blob: 8e57c96ad45e5c08b409f09d3b6ac513f36269fe [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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 */
8register unsigned long current_stack_pointer asm ("sp");
9
10#endif /* __ASM_STACK_POINTER_H */