| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH -queue 1/4] MIPS: use generic current.h |
| From: | Yoichi Yuasa <yuasa@linux-mips.org> |
| Date: | Fri, 12 Feb 2010 21:27:59 +0900 |
| Cc: | yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=vVqQH+LfNmuiz1nIFKXMHoj83gtCVsSzg4xi6J/cBcA=; b=Jyp8gljxBPBshA4sY1Ijxs7pzx0v37/7inuh/lLYkNxYiw9imugIg15TzjSWdLi/YL tayFeEr4p9n8VbI0fPBJedQsoEkrJ8aHCKmVgwuIHiCERQeuj4vr1ru4fqI6ESC22Zoi 8CHAbcsPv5zv1D2kTehiV8z+uAs99GIxA+cow= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=PEBub0P4ef1QU23fGhGqaMiwy7w+/I2jC5/HPjyPfPMpZBLkLLQWI28laivJUaL/cG aUjZm9lsHXX99y6WJGoAIDGEvDU5TDTmbxXSU9BfafghzIXua67ZDxTRp7AnyZVfGoi6 UQWLskXluL6uR4+PHvaRd9zcAii7V1w877tw8= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
---
arch/mips/include/asm/current.h | 24 +-----------------------
1 files changed, 1 insertions(+), 23 deletions(-)
diff --git a/arch/mips/include/asm/current.h b/arch/mips/include/asm/current.h
index 559db66..4c51401 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>
--
1.6.6.2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 0/6] MIPS Read Inhibit/eXecute Inhibit support (v2)., David Daney |
|---|---|
| Next by Date: | [PATCH -queue 2/4] MIPS: use generic parport.h, Yoichi Yuasa |
| Previous by Thread: | [PATCH 0/6] MIPS Read Inhibit/eXecute Inhibit support (v2)., David Daney |
| Next by Thread: | [PATCH -queue 2/4] MIPS: use generic parport.h, Yoichi Yuasa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |