summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-02-12 21:27:59 +0900
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 12:53:27 +0100
commit1a6e8963e07f126a7fa3e9b446f86205cd4e81fe (patch)
tree61acc6c2c59310994dde1d296fc9ebb47e3e6a90
parent27a5bd6457c8ce38151250530152e15f76b697a8 (diff)
downloadlwn-1a6e8963e07f126a7fa3e9b446f86205cd4e81fe.tar.gz
lwn-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>
-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>