stack_pointer.h 247 B

12345678910
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_STACK_POINTER_H
  3. #define __ASM_STACK_POINTER_H
  4. /*
  5. * how to get the current stack pointer from C
  6. */
  7. register unsigned long current_stack_pointer asm ("sp");
  8. #endif /* __ASM_STACK_POINTER_H */