]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: Use per-cpu variables for GDT, PDA
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 2 May 2007 17:27:10 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:10 +0000 (19:27 +0200)
commitae1ee11be77f51cedb6c569887dddc70c163ab6d
treee579a6a6d10c6835cab9af47a2795bf40f669da6
parent8f9aeca7a081d81c4c9862be1e04f15b5ab5461f
[PATCH] i386: Use per-cpu variables for GDT, PDA

Allocating PDA and GDT at boot is a pain.  Using simple per-cpu variables adds
happiness (although we need the GDT page-aligned for Xen, which we do in a
followup patch).

[akpm@linux-foundation.org: build fix]
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/i386/kernel/cpu/common.c
arch/i386/kernel/smpboot.c
arch/i386/mach-voyager/voyager_smp.c
include/asm-generic/percpu.h
include/asm-i386/desc.h
include/asm-i386/pda.h
include/asm-i386/processor.h