x86, intel_txt: clean up the impact on generic code, unbreak non-x86
commit69575d388603365f2afbf4166df93152df59b165
authorShane Wang <shane.wang@intel.com>
Wed, 2 Sep 2009 01:25:07 +0000 (1 18:25 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 2 Sep 2009 01:25:07 +0000 (1 18:25 -0700)
treeca3d66668c8ec47befc0adbfa62cf135229bda59
parent62a3207b8cf3de35368cdc3822b30b82d59eea95
x86, intel_txt: clean up the impact on generic code, unbreak non-x86

Move tboot.h from asm to linux to fix the build errors of intel_txt
patch on non-X86 platforms. Remove the tboot code from generic code
init/main.c and kernel/cpu.c.

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
12 files changed:
arch/x86/Kconfig
arch/x86/kernel/reboot.c
arch/x86/kernel/setup.c
arch/x86/kernel/smpboot.c
arch/x86/kernel/tboot.c
drivers/acpi/acpica/hwsleep.c
drivers/pci/dmar.c
drivers/pci/intel-iommu.c
include/linux/tboot.h [moved from arch/x86/include/asm/tboot.h with 83% similarity]
init/main.c
kernel/cpu.c
security/Kconfig