aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm/current.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-13 10:54:56 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-18 21:41:13 -0400
commit094167be1fe24a65ef1b4647b1ad22b3b7898621 (patch)
treeb35a00581ac3aa805b040bb166fdcae714aa43e8 /arch/blackfin/include/asm/current.h
parent3be5646c98169ee5d72847dff1fc459fcd8673d2 (diff)
Blackfin: convert simple headers to asm-generic
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm/current.h')
-rw-r--r--arch/blackfin/include/asm/current.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/blackfin/include/asm/current.h b/arch/blackfin/include/asm/current.h
index 31918d29122..4c51401b553 100644
--- a/arch/blackfin/include/asm/current.h
+++ b/arch/blackfin/include/asm/current.h
@@ -1,23 +1 @@
-#ifndef _BLACKFIN_CURRENT_H
-#define _BLACKFIN_CURRENT_H
-/*
- * current.h
- * (C) Copyright 2000, Lineo, David McCullough <davidm@lineo.com>
- *
- * rather than dedicate a register (as the m68k source does), we
- * just keep a global, we should probably just change it all to be
- * current and lose _current_task.
- */
-#include <linux/thread_info.h>
-
-struct task_struct;
-
-static inline struct task_struct *get_current(void) __attribute__ ((__const__));
-static inline struct task_struct *get_current(void)
-{
- return (current_thread_info()->task);
-}
-
-#define current (get_current())
-
-#endif /* _BLACKFIN_CURRENT_H */
+#include <asm-generic/current.h>