1 #include <generated/utsrelease.h>
2 #include <linux/module.h>
4 /* Simply sanity version stamp for modules. */
6 #define MODULE_VERMAGIC_SMP "SMP "
8 #define MODULE_VERMAGIC_SMP ""
11 #define MODULE_VERMAGIC_PREEMPT "preempt "
13 #define MODULE_VERMAGIC_PREEMPT ""
15 #ifdef CONFIG_MODULE_UNLOAD
16 #define MODULE_VERMAGIC_MODULE_UNLOAD "mod_unload "
18 #define MODULE_VERMAGIC_MODULE_UNLOAD ""
20 #ifdef CONFIG_MODVERSIONS
21 #define MODULE_VERMAGIC_MODVERSIONS "modversions "
23 #define MODULE_VERMAGIC_MODVERSIONS ""
25 #ifndef MODULE_ARCH_VERMAGIC
26 #define MODULE_ARCH_VERMAGIC ""
29 #define VERMAGIC_STRING \
31 MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \
32 MODULE_VERMAGIC_MODULE_UNLOAD MODULE_VERMAGIC_MODVERSIONS \