summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-02-12 13:27:59 +0100
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 12:53:27 +0100
commit1a6e8963e07f126a7fa3e9b446f86205cd4e81fe (patch)
tree61acc6c2c59310994dde1d296fc9ebb47e3e6a90 /arch/mips/include/asm
parentMIPS: Enable Read Inhibit/eXecute Inhibit for Octeon+ CPUs (diff)
downloadlinux-1a6e8963e07f126a7fa3e9b446f86205cd4e81fe.tar.xz
linux-1a6e8963e07f126a7fa3e9b446f86205cd4e81fe.zip
MIPS: Use generic current.h
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips <linux-mips@linux-mips.org> Patchwork: http://patchwork.linux-mips.org/patch/957/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/current.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/arch/mips/include/asm/current.h b/arch/mips/include/asm/current.h
index 559db66b9790..4c51401b5537 100644
--- a/arch/mips/include/asm/current.h
+++ b/arch/mips/include/asm/current.h
@@ -1,23 +1 @@
-/*
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright (C) 1998, 2002 Ralf Baechle
- * Copyright (C) 1999 Silicon Graphics, Inc.
- */
-#ifndef _ASM_CURRENT_H
-#define _ASM_CURRENT_H
-
-#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_CURRENT_H */
+#include <asm-generic/current.h>