summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot_64.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa2008-03-19 18:25:31 +0100
committerIngo Molnar2008-04-17 17:41:01 +0200
commit8d77010f8c93b4d41ffd71c7ad9d07fc1668cd5a (patch)
treeae4fcd9e0350b62a58db233ddd22982b0bdb87be /arch/x86/kernel/smpboot_64.c
parentx86: add subarch support (for headers) to x86_64 (diff)
downloadkernel-qcow2-linux-8d77010f8c93b4d41ffd71c7ad9d07fc1668cd5a.tar.gz
kernel-qcow2-linux-8d77010f8c93b4d41ffd71c7ad9d07fc1668cd5a.tar.xz
kernel-qcow2-linux-8d77010f8c93b4d41ffd71c7ad9d07fc1668cd5a.zip
x86: include mach_wakecpu.h in smpboot_64
Do it and also fix conflicts, which automatically makes x86_64 look closer to i386 Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot_64.c')
-rw-r--r--arch/x86/kernel/smpboot_64.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c
index c3e770b0094b..c6c993f4c415 100644
--- a/arch/x86/kernel/smpboot_64.c
+++ b/arch/x86/kernel/smpboot_64.c
@@ -60,6 +60,8 @@
#include <asm/hw_irq.h>
#include <asm/numa.h>
+#include <mach_wakecpu.h>
+
/* Set when the idlers are all forked */
int smp_threads_ready;
@@ -85,13 +87,6 @@ struct task_struct *idle_thread_array[NR_CPUS] __cpuinitdata ;
#define set_idle_for_cpu(x,p) (idle_thread_array[(x)] = (p))
#endif
-static inline void wait_for_init_deassert(atomic_t *deassert)
-{
- while (!atomic_read(deassert))
- cpu_relax();
- return;
-}
-
static atomic_t init_deasserted __cpuinitdata;
/*
@@ -247,7 +242,7 @@ extern volatile unsigned long init_rsp;
extern void (*initial_code)(void);
#ifdef APIC_DEBUG
-static void inquire_remote_apic(int apicid)
+static void __inquire_remote_apic(int apicid)
{
unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
char *names[] = { "ID", "VERSION", "SPIV" };