]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8911567f1d4dec6e635589235228755ee2e5705
treec8757f9b9bfab3e090159a198c0141900851a776
parent356b190c61017ae224cf2816bc2f762d1d9f2b61
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