summaryrefslogtreecommitdiff
path: root/arch/m68k/include/asm/current.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/current.h')
-rw-r--r--arch/m68k/include/asm/current.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/current.h b/arch/m68k/include/asm/current.h
index 6390ef2f7f86..c117907e1276 100644
--- a/arch/m68k/include/asm/current.h
+++ b/arch/m68k/include/asm/current.h
@@ -24,6 +24,8 @@ static inline struct task_struct *get_current(void)
#define current get_current()
-#endif /* CONFNIG_MMU */
+#endif /* CONFIG_MMU */
+
+register unsigned long current_stack_pointer __asm__("sp");
#endif /* !(_M68K_CURRENT_H) */