[PATCH] x86-64: Move cpu verification code to common file
authorVivek Goyal <vgoyal@in.ibm.com>
Wed, 2 May 2007 17:27:08 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:08 +0000 (19:27 +0200)
commita4831e08b7f3ed51623c9eb25e8c945b76b3eda3
treecc38c9df02560fba778dfbff5f389e4ac3b720b9
parent8035d3ea78c2a61a9738c7857742370e0aa74d5c
[PATCH] x86-64: Move cpu verification code to common file

o This patch moves the code to verify long mode and SSE to a common file.
  This code is now shared by trampoline.S, wakeup.S, boot/setup.S and
  boot/compressed/head.S

o So far we used to do very limited check in trampoline.S, wakeup.S and
  in 32bit entry point. Now all the entry paths are forced to do the
  exhaustive check, including SSE because verify_cpu is shared.

o I am keeping this patch as last in the x86 relocatable series because
  previous patches have got quite some amount of testing done and don't want
  to distrub that. So that if there is problem introduced by this patch, at
  least it can be easily isolated.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/boot/compressed/head.S
arch/x86_64/boot/setup.S
arch/x86_64/kernel/acpi/wakeup.S
arch/x86_64/kernel/trampoline.S
arch/x86_64/kernel/verify_cpu.S [new file with mode: 0644]