2023-08-30 17:31:07 +02:00
|
|
|
#include <linux/module.h>
|
|
|
|
#define INCLUDE_VERMAGIC
|
|
|
|
#include <linux/build-salt.h>
|
|
|
|
#include <linux/elfnote-lto.h>
|
|
|
|
#include <linux/export-internal.h>
|
|
|
|
#include <linux/vermagic.h>
|
|
|
|
#include <linux/compiler.h>
|
|
|
|
|
2023-10-24 12:59:35 +02:00
|
|
|
#ifdef CONFIG_UNWINDER_ORC
|
|
|
|
#include <asm/orc_header.h>
|
|
|
|
ORC_HEADER;
|
|
|
|
#endif
|
|
|
|
|
2023-08-30 17:31:07 +02:00
|
|
|
BUILD_SALT;
|
|
|
|
BUILD_LTO_INFO;
|
|
|
|
|
|
|
|
MODULE_INFO(vermagic, VERMAGIC_STRING);
|
|
|
|
MODULE_INFO(name, KBUILD_MODNAME);
|
|
|
|
|
|
|
|
__visible struct module __this_module
|
|
|
|
__section(".gnu.linkonce.this_module") = {
|
|
|
|
.name = KBUILD_MODNAME,
|
|
|
|
.init = init_module,
|
|
|
|
#ifdef CONFIG_MODULE_UNLOAD
|
|
|
|
.exit = cleanup_module,
|
|
|
|
#endif
|
|
|
|
.arch = MODULE_ARCH_INIT,
|
|
|
|
};
|
|
|
|
|
|
|
|
MODULE_INFO(intree, "Y");
|
|
|
|
|
|
|
|
#ifdef CONFIG_RETPOLINE
|
|
|
|
MODULE_INFO(retpoline, "Y");
|
|
|
|
#endif
|
|
|
|
|
2023-10-24 12:59:35 +02:00
|
|
|
KSYMTAB_FUNC(fou_encap_hlen, "", "");
|
|
|
|
KSYMTAB_FUNC(gue_encap_hlen, "", "");
|
|
|
|
KSYMTAB_FUNC(__fou_build_header, "", "");
|
|
|
|
KSYMTAB_FUNC(__gue_build_header, "", "");
|
|
|
|
|
2023-08-30 17:31:07 +02:00
|
|
|
MODULE_INFO(depends, "ip_tunnel,udp_tunnel");
|
|
|
|
|