lkml.org 
[lkml]   [2008]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 48/52] modify x86_64 smp_callin so it looks like i386
Date
This is done by introducing the empty smp_callin_clear_local_apic()
and map_cpu_to_logical_apicid()

Signed-off-by: Glauber Costa <gcosta@redhat.com>
---
arch/x86/kernel/smpboot_64.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c
index 4f6d976..b6a5da5 100644
--- a/arch/x86/kernel/smpboot_64.c
+++ b/arch/x86/kernel/smpboot_64.c
@@ -106,6 +106,8 @@ static inline void wait_for_init_deassert(atomic_t *deassert)
cpu_relax();
return;
}
+#define smp_callin_clear_local_apic() do {} while (0)
+#define map_cpu_to_logical_apicid() do {} while (0)

static atomic_t init_deasserted __cpuinitdata;

@@ -171,8 +173,10 @@ void __cpuinit smp_callin(void)
*/

Dprintk("CALLIN, before setup_local_APIC().\n");
+ smp_callin_clear_local_apic();
setup_local_APIC();
end_local_APIC_setup();
+ map_cpu_to_logical_apicid();

/*
* Get our bogomips.
--
1.5.0.6


\
 
 \ /
  Last update: 2008-03-03 18:35    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog