x86/boot/64: Put __startup_64() into .head.text
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Fri, 16 Jun 2017 11:30:24 +0000 (14:30 +0300)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Jun 2017 10:56:27 +0000 (12:56 +0200)
commit26179670a68b7b365fbfe38afb043dcd2e1a4678
treec8757f9b9bfab3e090159a198c0141900851a776
parent8624c1f66f0fef640d0e044ddf1eb60e77e76df6
x86/boot/64: Put __startup_64() into .head.text

Put __startup_64() and fixup_pointer() into .head.text section to make
sure it's always near startup_64() and always callable.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: kernel test robot <fengguang.wu@intel.com>
Cc: wfg@linux.intel.com
Link: http://lkml.kernel.org/r/20170616113024.ajmif63cmcszry5a@black.fi.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/head64.c