Re: 2.6.9-rc3-mm[12]: x86-64-clustered-apic-support.patch problem

From: Andi Kleen
Date: Mon Oct 04 2004 - 15:43:37 EST


"Rafael J. Wysocki" <rjw@xxxxxxx> writes:

> Andrew,
>
> The patch x86-64-clustered-apic-support.patch causes the 2.6.9-rc3-mm[12]
> kernel to crash at startup on a single-CPU AMD64 box :

This untested patch may fix it. Does it?

-Andi

Index: linux/arch/x86_64/kernel/genapic.c
===================================================================
--- linux.orig/arch/x86_64/kernel/genapic.c 2004-10-03 16:28:07.%N +0200
+++ linux/arch/x86_64/kernel/genapic.c 2004-10-03 17:05:10.%N +0200
@@ -27,7 +27,7 @@
extern struct genapic apic_cluster;
extern struct genapic apic_flat;

-struct genapic *genapic;
+struct genapic *genapic = &apic_flat;


/*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/