summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/stack_pointer.h
blob: ffcdf742cddf931e6ee0b5fcb52c5bd535d2249f (plain)
1
2
3
4
5
6
7
8
9
#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 */