Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yoichi Yuasa and committed by
Ralf Baechle
1a6e8963 27a5bd64

+1 -23
+1 -23
arch/mips/include/asm/current.h
··· 1 - /* 2 - * This file is subject to the terms and conditions of the GNU General Public 3 - * License. See the file "COPYING" in the main directory of this archive 4 - * for more details. 5 - * 6 - * Copyright (C) 1998, 2002 Ralf Baechle 7 - * Copyright (C) 1999 Silicon Graphics, Inc. 8 - */ 9 - #ifndef _ASM_CURRENT_H 10 - #define _ASM_CURRENT_H 11 - 12 - #include <linux/thread_info.h> 13 - 14 - struct task_struct; 15 - 16 - static inline struct task_struct * get_current(void) 17 - { 18 - return current_thread_info()->task; 19 - } 20 - 21 - #define current get_current() 22 - 23 - #endif /* _ASM_CURRENT_H */ 1 + #include <asm-generic/current.h>