On Mon, Jul 15, 2002 at 09:01:06PM -0700, Miles Lane wrote:
<snip>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -I /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/include -DKBUILD_BASENAME=mpparse -c -o mpparse.o mpparse.c
> In file included from mpparse.c:25:
> /usr/src/linux/include/asm/smp.h:45:1: warning: "INT_DELIVERY_MODE" redefined
> /usr/src/linux/include/asm/smp.h:42:1: warning: this is the location of the previous definition
> mpparse.c:72: parse error before numeric constant
> mpparse.c:76: parse error before numeric constant
> mpparse.c:77: parse error before numeric constant
> mpparse.c:78: parse error before numeric constant
> mpparse.c:79: parse error before numeric constant
> mpparse.c: In function `smp_read_mpc':
> mpparse.c:601: invalid lvalue in assignment
<snip>
I don't know how correct the following patch might be, but it allows
mpparse.c to compile.
(diff against 2.4.19-rc1-ac5)
--- include/asm-i386/smp.h.old Tue Jul 16 03:21:52 2002
+++ include/asm-i386/smp.h Tue Jul 16 03:39:00 2002
@@ -34,11 +34,6 @@
#define INT_DEST_ADDR_MODE 1 /* logical delivery */
# endif
#else
-#define clustered_apic_mode (0)
-#define clustered_apic_logical (0)
-#define clustered_apic_physical (0)
-#define apic_broadcast_id (APIC_BROADCAST_ID_APIC)
-#define esr_disable (0)
#define INT_DELIVERY_MODE 1 /* logical delivery */
#define TARGET_CPUS 0x01
#define INT_DEST_ADDR_MODE 1 /* logical delivery */
-- L1: khromy ;khromy(at)lnuxlab.ath.cx - 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 : Tue Jul 23 2002 - 22:00:18 EST