diff options
author | David Rientjes <rientjes@google.com> | 2014-07-31 02:53:27 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-07-31 11:05:41 -0400 |
commit | 6ab1b27c849106647c42b3ea0681a039552e24fa (patch) | |
tree | 9f399fcb99f06594d7f238d06f7ac02e6c322b5f /arch/x86/kernel/apic/apic_noop.c | |
parent | 80a2670379b777ea45f2f6c73b2d2bc3f99066c8 (diff) |
x86, apic: Replace trampoline physical addresses with defaults
The trampoline_phys_{high,low} members of struct apic are always
initialized to DEFAULT_TRAMPOLINE_PHYS_HIGH and TRAMPOLINE_PHYS_LOW,
respectively. Hardwire the constants and remove the unneeded members.
Signed-off-by: David Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1407302348330.17503@chino.kir.corp.google.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/apic/apic_noop.c')
-rw-r--r-- | arch/x86/kernel/apic/apic_noop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic/apic_noop.c b/arch/x86/kernel/apic/apic_noop.c index 8c7c98249c20..c638efa6ad67 100644 --- a/arch/x86/kernel/apic/apic_noop.c +++ b/arch/x86/kernel/apic/apic_noop.c | |||
@@ -168,10 +168,6 @@ struct apic apic_noop = { | |||
168 | 168 | ||
169 | .wakeup_secondary_cpu = noop_wakeup_secondary_cpu, | 169 | .wakeup_secondary_cpu = noop_wakeup_secondary_cpu, |
170 | 170 | ||
171 | /* should be safe */ | ||
172 | .trampoline_phys_low = DEFAULT_TRAMPOLINE_PHYS_LOW, | ||
173 | .trampoline_phys_high = DEFAULT_TRAMPOLINE_PHYS_HIGH, | ||
174 | |||
175 | .wait_for_init_deassert = false, | 171 | .wait_for_init_deassert = false, |
176 | .smp_callin_clear_local_apic = NULL, | 172 | .smp_callin_clear_local_apic = NULL, |
177 | .inquire_remote_apic = NULL, | 173 | .inquire_remote_apic = NULL, |