Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
123456789101112131415161718192021222324/* SPDX-License-Identifier: GPL-2.0 */
#if __alpha__register unsigned long sp asm("$30");#elif __arm__ || __aarch64__ || __csky__ || __m68k__ || __mips__ || __riscvregister unsigned long sp asm("sp");#elif __i386__register unsigned long sp asm("esp");#elif __loongarch64register unsigned long sp asm("$sp");#elif __powerpc__register unsigned long sp asm("r1");#elif __s390x__register unsigned long sp asm("%15");#elif __sh__register unsigned long sp asm("r15");#elif __x86_64__register unsigned long sp asm("rsp");#elif __XTENSA__register unsigned long sp asm("a1");#else#error "implement current_stack_pointer equivalent"#endif