Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 2 | #ifndef __ASM_GENERIC_CURRENT_H |
3 | #define __ASM_GENERIC_CURRENT_H | ||||
4 | |||||
5 | #include <linux/thread_info.h> | ||||
6 | |||||
7 | #define get_current() (current_thread_info()->task) | ||||
8 | #define current get_current() | ||||
9 | |||||
10 | #endif /* __ASM_GENERIC_CURRENT_H */ |