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
6 * Copyright (C) 1998, 2002 Ralf Baechle
7 * Copyright (C) 1999 Silicon Graphics, Inc.
10 #define _ASM_CURRENT_H
12 #include <linux/thread_info.h>
16 static inline struct task_struct * get_current(void)
18 return current_thread_info()->task;
21 #define current get_current()
23 #endif /* _ASM_CURRENT_H */