module-common.c 480 B

12345678910111213141516171819202122232425
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <linux/module.h>
  3. /*
  4. * Include build-salt.h after module.h in order to
  5. * inherit the definitions.
  6. */
  7. #define INCLUDE_VERMAGIC
  8. #include <linux/build-salt.h>
  9. #include <linux/elfnote-lto.h>
  10. #include <linux/vermagic.h>
  11. #ifdef CONFIG_UNWINDER_ORC
  12. #include <asm/orc_header.h>
  13. ORC_HEADER;
  14. #endif
  15. BUILD_SALT;
  16. BUILD_LTO_INFO;
  17. MODULE_INFO(vermagic, VERMAGIC_STRING);
  18. #ifdef CONFIG_MITIGATION_RETPOLINE
  19. MODULE_INFO(retpoline, "Y");
  20. #endif