]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/vermagic.h
1 #include <linux/version.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 #ifndef MODULE_ARCH_VERMAGIC
16 #define MODULE_ARCH_VERMAGIC ""
19 #define VERMAGIC_STRING \
21 MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \
22 MODULE_ARCH_VERMAGIC \
23 "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__)