aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/asm/current.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/asm/current.h')
-rw-r--r--arch/um/include/asm/current.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/um/include/asm/current.h b/arch/um/include/asm/current.h
new file mode 100644
index 00000000000..c2191d9aa03
--- /dev/null
+++ b/arch/um/include/asm/current.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
+ * Licensed under the GPL
+ */
+
+#ifndef __UM_CURRENT_H
+#define __UM_CURRENT_H
+
+#include "linux/thread_info.h"
+
+#define current (current_thread_info()->task)
+
+#endif