1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __SHARED_H__ 3 #define __SHARED_H__ 4 5 #include <linux/types.h> 6 #include <linux/bug.h> 7 #include <linux/kernel.h> 8 #include <linux/bitops.h> 9 10 #include <linux/gfp.h> 11 #include <linux/rcupdate.h> 12 13 #ifndef module_init 14 #define module_init(x) 15 #endif 16 17 #ifndef module_exit 18 #define module_exit(x) 19 #endif 20 21 #ifndef MODULE_AUTHOR 22 #define MODULE_AUTHOR(x) 23 #endif 24 25 #ifndef MODULE_LICENSE 26 #define MODULE_LICENSE(x) 27 #endif 28 29 #ifndef MODULE_DESCRIPTION 30 #define MODULE_DESCRIPTION(x) 31 #endif 32 33 #ifndef dump_stack 34 #define dump_stack() assert(0) 35 #endif 36 37 #endif /* __SHARED_H__ */ 38
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.