summaryrefslogtreecommitdiff
path: root/arch/csky/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-12-19 07:51:30 -0600
committerLinus Torvalds <torvalds@linux-foundation.org>2022-12-19 07:51:30 -0600
commit96bab5b926e4c2d970f70495f4554f905babd09d (patch)
treeb27b340e66e04fdf39586d4def8b8512247efbab /arch/csky/include
parent5f6e430f931d245da838db3e10e918681207029b (diff)
parent7e2004906fb52257772be0ef262fba2d5eb1653b (diff)
Merge tag 'csky-for-linus-6.2-rc1' of https://github.com/c-sky/csky-linux
Pull arch/csky updates from Guo Ren: - Revert rseq support - it wasn't ready - Add current_stack_pointer support - Typo fixup * tag 'csky-for-linus-6.2-rc1' of https://github.com/c-sky/csky-linux: Revert "csky: Add support for restartable sequence" Revert "csky: Fixup CONFIG_DEBUG_RSEQ" csky: Kconfig: Fix spelling mistake "Meory" -> "Memory" csky: add arch support current_stack_pointer
Diffstat (limited to 'arch/csky/include')
-rw-r--r--arch/csky/include/asm/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/csky/include/asm/processor.h b/arch/csky/include/asm/processor.h
index 63ad71fab30d..ea75d72dea86 100644
--- a/arch/csky/include/asm/processor.h
+++ b/arch/csky/include/asm/processor.h
@@ -84,4 +84,6 @@ unsigned long __get_wchan(struct task_struct *p);
#define cpu_relax() barrier()
+register unsigned long current_stack_pointer __asm__("sp");
+
#endif /* __ASM_CSKY_PROCESSOR_H */