aboutsummaryrefslogtreecommitdiff
path: root/include/asm-m68k/current.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/current.h')
-rw-r--r--include/asm-m68k/current.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-m68k/current.h b/include/asm-m68k/current.h
new file mode 100644
index 00000000000..8de8f8ceda6
--- /dev/null
+++ b/include/asm-m68k/current.h
@@ -0,0 +1,6 @@
+#ifndef _M68K_CURRENT_H
+#define _M68K_CURRENT_H
+
+register struct task_struct *current __asm__("%a2");
+
+#endif /* !(_M68K_CURRENT_H) */