From 4f7b0a0b6292d672dd47a75631cd58052904ff9c Mon Sep 17 00:00:00 2001 From: Yoichi Yuasa Date: Fri, 12 Feb 2010 21:27:59 +0900 Subject: [PATCH] --- yaml --- r: 182109 b: refs/heads/master c: 1a6e8963e07f126a7fa3e9b446f86205cd4e81fe h: refs/heads/master i: 182107: 1ad7b845d6caaa5a01471d18e8d46eec3c0ce94a v: v3 --- [refs] | 2 +- trunk/arch/mips/include/asm/current.h | 24 +----------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/[refs] b/[refs] index 25021c57a3dd..dd43706f6d42 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 27a5bd6457c8ce38151250530152e15f76b697a8 +refs/heads/master: 1a6e8963e07f126a7fa3e9b446f86205cd4e81fe diff --git a/trunk/arch/mips/include/asm/current.h b/trunk/arch/mips/include/asm/current.h index 559db66b9790..4c51401b5537 100644 --- a/trunk/arch/mips/include/asm/current.h +++ b/trunk/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 - -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