162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_STACK_POINTER_H
362306a36Sopenharmony_ci#define __ASM_STACK_POINTER_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/*
662306a36Sopenharmony_ci * how to get the current stack pointer from C
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ciregister unsigned long current_stack_pointer asm ("sp");
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#endif /* __ASM_STACK_POINTER_H */
11