1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 2 3 #include <linux/module.h> 3 #include <linux/module.h> 4 /* 4 /* 5 * Include build-salt.h after module.h in orde 5 * Include build-salt.h after module.h in order to 6 * inherit the definitions. 6 * inherit the definitions. 7 */ 7 */ 8 #define INCLUDE_VERMAGIC 8 #define INCLUDE_VERMAGIC 9 #include <linux/build-salt.h> 9 #include <linux/build-salt.h> 10 #include <linux/elfnote-lto.h> 10 #include <linux/elfnote-lto.h> 11 #include <linux/vermagic.h> 11 #include <linux/vermagic.h> 12 12 13 #ifdef CONFIG_UNWINDER_ORC 13 #ifdef CONFIG_UNWINDER_ORC 14 #include <asm/orc_header.h> 14 #include <asm/orc_header.h> 15 ORC_HEADER; 15 ORC_HEADER; 16 #endif 16 #endif 17 17 18 BUILD_SALT; 18 BUILD_SALT; 19 BUILD_LTO_INFO; 19 BUILD_LTO_INFO; 20 20 21 MODULE_INFO(vermagic, VERMAGIC_STRING); 21 MODULE_INFO(vermagic, VERMAGIC_STRING); 22 22 23 #ifdef CONFIG_MITIGATION_RETPOLINE 23 #ifdef CONFIG_MITIGATION_RETPOLINE 24 MODULE_INFO(retpoline, "Y"); 24 MODULE_INFO(retpoline, "Y"); 25 #endif 25 #endif 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.