gcc-3 patch (damn myself)

mirabilos (eccesys@topmail.de)
Tue, 15 May 2001 22:59:53 +0200 (MET DST)


Hrm, I forgot to paste the patch:
--- linux-2.4.4-ac9/arch/i386/config.in.org Mon May 14 17:22:39 2001
+++ linux-2.4.4-ac9/arch/i386/config.in Tue May 15 18:53:29 2001
@@ -59,8 +59,12 @@
define_bool CONFIG_X86_XADD y
define_bool CONFIG_X86_BSWAP y
define_bool CONFIG_X86_POPAD_OK y
- define_bool CONFIG_RWSEM_GENERIC_SPINLOCK n
- define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
+ bool ' Use generic rwsem (for gcc-3)' CONFIG_RWSEM_GENERIC_SPINLOCK
+ if [ "$CONFIG_RWSEM_GENERIC_SPINLOCK" = "y" ]; then
+ define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
+ else
+ define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM y
+ fi
fi
if [ "$CONFIG_M486" = "y" ]; then
define_int CONFIG_X86_L1_CACHE_SHIFT 4
-
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/