diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 10:15:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:32 -0500 |
commit | abfa584c8df8b691cf18f51c7d4af27e5b32be4a (patch) | |
tree | 064743591bf01c4a85fa6f55f770e9ac8555ef24 /arch/x86/kernel/genapic_flat_64.c | |
parent | 6f177c01db6b865181fbc6c948381b290ee09718 (diff) |
x86: set ->trampoline_phys_low/high on 64-bit too
64-bit x86 has zero for ->trampoline_phys_low/high, but the smpboot
code can use these values - so it's better to set them up to their
correct values.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_flat_64.c')
-rw-r--r-- | arch/x86/kernel/genapic_flat_64.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/genapic_flat_64.c b/arch/x86/kernel/genapic_flat_64.c index 7c648ccea514..3a28d6a8c497 100644 --- a/arch/x86/kernel/genapic_flat_64.c +++ b/arch/x86/kernel/genapic_flat_64.c | |||
@@ -224,8 +224,8 @@ struct genapic apic_flat = { | |||
224 | .send_IPI_self = apic_send_IPI_self, | 224 | .send_IPI_self = apic_send_IPI_self, |
225 | 225 | ||
226 | .wakeup_cpu = NULL, | 226 | .wakeup_cpu = NULL, |
227 | .trampoline_phys_low = 0, | 227 | .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW, |
228 | .trampoline_phys_high = 0, | 228 | .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH, |
229 | .wait_for_init_deassert = NULL, | 229 | .wait_for_init_deassert = NULL, |
230 | .smp_callin_clear_local_apic = NULL, | 230 | .smp_callin_clear_local_apic = NULL, |
231 | .store_NMI_vector = NULL, | 231 | .store_NMI_vector = NULL, |
@@ -370,8 +370,8 @@ struct genapic apic_physflat = { | |||
370 | .send_IPI_self = apic_send_IPI_self, | 370 | .send_IPI_self = apic_send_IPI_self, |
371 | 371 | ||
372 | .wakeup_cpu = NULL, | 372 | .wakeup_cpu = NULL, |
373 | .trampoline_phys_low = 0, | 373 | .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW, |
374 | .trampoline_phys_high = 0, | 374 | .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH, |
375 | .wait_for_init_deassert = NULL, | 375 | .wait_for_init_deassert = NULL, |
376 | .smp_callin_clear_local_apic = NULL, | 376 | .smp_callin_clear_local_apic = NULL, |
377 | .store_NMI_vector = NULL, | 377 | .store_NMI_vector = NULL, |