]> git.baikalelectronics.ru Git - kernel.git/commit
x86, boot: Move verify_cpu.S and no_longmode down
authorYinghai Lu <yinghai@kernel.org>
Thu, 24 Jan 2013 20:20:00 +0000 (12:20 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 Jan 2013 23:26:15 +0000 (15:26 -0800)
commit868c6b8cbcd794d772dfc33687f23d34f077552e
tree0d6d75aa30458cac69e9f3a79508c4b8698acbde
parent16f50a9e80ccd2d7d412f5652b29fccaa129a903
x86, boot: Move verify_cpu.S and no_longmode down

We need to move some code to 32bit section in following patch:

   x86, boot: Move lldt/ltr out of 64bit code section

but that will push startup_64 down from 0x200.

According to hpa, we can not change startup_64 position and that
is an ABI.

We could move function verify_cpu and no_longmode down, because
verify_cpu is used via function call and no_longmode will not
return, then we don't need to add extra code for jumping back.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1359058816-7615-20-git-send-email-yinghai@kernel.org
Cc: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/compressed/head_64.S