1 /* SPDX-License-Identifier: GPL-2.0 */ !! 1 #ifndef _M68K_CURRENT_H 2 #ifndef __ASM_GENERIC_CURRENT_H !! 2 #define _M68K_CURRENT_H 3 #define __ASM_GENERIC_CURRENT_H << 4 3 5 #ifndef __ASSEMBLY__ !! 4 register struct task_struct *current __asm__("%a2"); 6 #include <linux/thread_info.h> << 7 5 8 #define get_current() (current_thread_info()-> !! 6 #endif /* !(_M68K_CURRENT_H) */ 9 #define current get_current() << 10 #endif << 11 << 12 #endif /* __ASM_GENERIC_CURRENT_H */ << 13 7
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.