diff options
author | Jarkko Sakkinen <jarkko.sakkinen@intel.com> | 2012-05-08 14:22:41 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-08 14:48:45 -0400 |
commit | b429dbf6e866bd6dadb56fae66f61f611cde57ff (patch) | |
tree | e01a2765f5e8847fc4229f45119ccce20de896e3 /arch/x86/kernel/smpboot.c | |
parent | 8e029fcdd8702719c9179317cae9ef84ebe7027e (diff) |
x86, realmode: don't copy real_mode_header
Replaced copying of real_mode_header with a pointer
to beginning of RM memory.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-19-git-send-email-jarkko.sakkinen@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index c7971ea74bd0..b8c0661e2341 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -665,9 +665,9 @@ static void __cpuinit announce_cpu(int cpu, int apicid) | |||
665 | static int __cpuinit do_boot_cpu(int apicid, int cpu) | 665 | static int __cpuinit do_boot_cpu(int apicid, int cpu) |
666 | { | 666 | { |
667 | volatile u32 *trampoline_status = | 667 | volatile u32 *trampoline_status = |
668 | (volatile u32 *) __va(real_mode_header.trampoline_status); | 668 | (volatile u32 *) __va(real_mode_header->trampoline_status); |
669 | /* start_ip had better be page-aligned! */ | 669 | /* start_ip had better be page-aligned! */ |
670 | unsigned long start_ip = real_mode_header.trampoline_data; | 670 | unsigned long start_ip = real_mode_header->trampoline_data; |
671 | 671 | ||
672 | unsigned long boot_error = 0; | 672 | unsigned long boot_error = 0; |
673 | int timeout; | 673 | int timeout; |