aboutsummaryrefslogtreecommitdiffstats
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 @@
1#ifndef _SPARC64_CURRENT_H
2#define _SPARC64_CURRENT_H
3
4#include <linux/thread_info.h>
5
6register struct task_struct *current asm("g4");
7
8#endif /* !(_SPARC64_CURRENT_H) */