]> git.baikalelectronics.ru Git - kernel.git/commit
x86: take load_sp0 out of smpboot.c
authorGlauber Costa <gcosta@redhat.com>
Thu, 5 Jun 2008 06:05:39 +0000 (23:05 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 10:48:25 +0000 (12:48 +0200)
commitedb531b2426a0beed1f2c5ac81feda611cd5b234
tree4ebc99247ffde83356ec06d05d297cdb61b7c0b8
parent94b1fd2adb77935143d657db59200615442cc684
x86: take load_sp0 out of smpboot.c

there's no particular reason to do load_sp0 in different
places for i386 and x86_64. They should all be in cpu_init.
Right now, cpu_init itself is not integrated, but with this patch,
the code becomes closer to each other, making in easier to integrate
when the time comes.

Furthermore, although doing it in do_boot_cpu for x86_64 is fine, since it's
only a copy, load_sp0 should be executed in the cpu it refers to anyway.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup64.c
arch/x86/kernel/smpboot.c