Skip to contentSkip to conversation

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

DISCUSSION Andi Kleen 2 participants 2 messages Oct 4, 2004 – Oct 5, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 4 lines · Rafael J. Wysocki

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

arch/x86_64/kernel/genapic.c +1 -1
Index: linux/arch/x86_64/kernel/genapic.c
===================================================================
@@ -27,7 +27,7 @@
 extern struct genapic apic_cluster;
 extern struct genapic apic_flat;
 
-struct genapic *genapic;
+struct genapic *genapic = &apic_flat;
 
 
 /*
#2 lore raw
Quoted 16 lines · Andi Kleen
Quoted 4 lines · Rafael J. Wysocki

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
===================================================================

arch/x86_64/kernel/genapic.c line 33

Quoted 8 lines
arch/x86_64/kernel/genapic.c +1 -1
@@ -27,7 +27,7 @@
 extern struct genapic apic_cluster;
 extern struct genapic apic_flat;
 
-struct genapic *genapic;
+struct genapic *genapic = &apic_flat;
 
 
 /*

Yes, it does.

Greets,
RJW

Signature · 3 lines
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"