[PATCH] bcm43xx: Fix array overrun in bcm43xx_geo_init
[linux-2.6/kmemtrace.git] / include / linux / vermagic.h
blobdc7c621e464714b6e6646b9abcf48b6519c1856a
1 #include <linux/version.h>
2 #include <linux/module.h>
4 /* Simply sanity version stamp for modules. */
5 #ifdef CONFIG_SMP
6 #define MODULE_VERMAGIC_SMP "SMP "
7 #else
8 #define MODULE_VERMAGIC_SMP ""
9 #endif
10 #ifdef CONFIG_PREEMPT
11 #define MODULE_VERMAGIC_PREEMPT "preempt "
12 #else
13 #define MODULE_VERMAGIC_PREEMPT ""
14 #endif
15 #ifdef CONFIG_MODULE_UNLOAD
16 #define MODULE_VERMAGIC_MODULE_UNLOAD "mod_unload "
17 #else
18 #define MODULE_VERMAGIC_MODULE_UNLOAD ""
19 #endif
20 #ifndef MODULE_ARCH_VERMAGIC
21 #define MODULE_ARCH_VERMAGIC ""
22 #endif
24 #define VERMAGIC_STRING \
25 UTS_RELEASE " " \
26 MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \
27 MODULE_VERMAGIC_MODULE_UNLOAD MODULE_ARCH_VERMAGIC \
28 "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__)