aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/asm-sparc64/current.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/current.h')
-rw-r--r--include/asm-sparc64/current.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-sparc64/current.h b/include/asm-sparc64/current.h
new file mode 100644
index 000000000000..6c21e4ee2475
--- /dev/null
+++ b/include/asm-sparc64/current.h
@@ -0,0 +1,8 @@
+#ifndef _SPARC64_CURRENT_H
+#define _SPARC64_CURRENT_H
+
+#include <linux/thread_info.h>
+
+register struct task_struct *current asm("g4");
+
+#endif /* !(_SPARC64_CURRENT_H) */