diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 21:34:26 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 21:34:26 +0900 |
commit | 4822994a238b44ab5d162243077fe6273171fbab (patch) | |
tree | f8eaebfcabde1f563597c5806cc0d0031f9f3b88 | |
parent | bff7b55bdb325f62c4e30a97883ebd2b536bd47b (diff) |
sh: Convert to asm-generic/current.h.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/include/asm/current.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/arch/sh/include/asm/current.h b/arch/sh/include/asm/current.h index 62b63880b33..4c51401b553 100644 --- a/arch/sh/include/asm/current.h +++ b/arch/sh/include/asm/current.h @@ -1,20 +1 @@ -#ifndef __ASM_SH_CURRENT_H -#define __ASM_SH_CURRENT_H - -/* - * Copyright (C) 1999 Niibe Yutaka - * - */ - -#include <linux/thread_info.h> - -struct task_struct; - -static __inline__ struct task_struct * get_current(void) -{ - return current_thread_info()->task; -} - -#define current get_current() - -#endif /* __ASM_SH_CURRENT_H */ +#include <asm-generic/current.h> |