Re: [PATCH] Remove spinlock workaround for pre 2.95 gccs

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Thu Jun 19 2003 - 22:00:56 EST


In message <20030619211819.GA12716@averell> you write:
> Advantage is that gcc 2.95 and 3.x compiled kernels are now binary
> compatible. Unfortunately module loading still checks the compiler
> version, but I guess that could be taken out now. As far as I know
> there should be no compiler related incompatibilities now.

Good point, Andi. And if any particular arch has compiler version
issues it can add it back in the arch-specific part.

Patch is as trivial. If noone else can think of any problems?
Cheers,
Rusty.

diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.72-bk2/include/linux/vermagic.h working-2.5.72-bk2-compiler-version/include/linux/vermagic.h
--- linux-2.5.72-bk2/include/linux/vermagic.h 2003-02-18 11:18:56.000000000 +1100
+++ working-2.5.72-bk2-compiler-version/include/linux/vermagic.h 2003-06-20 12:57:51.000000000 +1000
@@ -19,5 +19,4 @@
 #define VERMAGIC_STRING \
         UTS_RELEASE " " \
         MODULE_VERMAGIC_SMP MODULE_VERMAGIC_PREEMPT \
- MODULE_ARCH_VERMAGIC \
- "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__)
+ MODULE_ARCH_VERMAGIC

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:31 EST