]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[PATCH] Move compiler check for modules to ia64 only
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
Apparently IA64 needs it, but i386/x86-64 don't anymore
since gcc 2.95 support was dropped.  Nobody else on linux-arch
requested keeping it generically

Cc: tony.luck@intel.com
Cc: kaos@sgi.com
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-ia64/module.h
include/linux/vermagic.h

index 85c82bd819f253009338af96ad04e939b011b720..d2da61e4c49bb690021e332f38bace45d3a1e4b7 100644 (file)
@@ -28,7 +28,8 @@ struct mod_arch_specific {
 #define Elf_Ehdr       Elf64_Ehdr
 
 #define MODULE_PROC_FAMILY     "ia64"
-#define MODULE_ARCH_VERMAGIC   MODULE_PROC_FAMILY
+#define MODULE_ARCH_VERMAGIC   MODULE_PROC_FAMILY \
+       "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__)
 
 #define ARCH_SHF_SMALL SHF_IA_64_SHORT
 
index 46919f9f5eb35b9d023e9c5a7818bc528b5fa2e5..4d0909e53595dcd9423c9e845bd13d0da36bfcaa 100644 (file)
@@ -24,5 +24,5 @@
 #define VERMAGIC_STRING                                                \
        UTS_RELEASE " "                                                 \
        MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT                     \
-       MODULE_VERMAGIC_MODULE_UNLOAD MODULE_ARCH_VERMAGIC              \
-       "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__)
+       MODULE_VERMAGIC_MODULE_UNLOAD MODULE_ARCH_VERMAGIC
+