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 <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
This commit is contained in:
Shane Wang 2009-09-01 18:25:07 -07:00 • committed by H. Peter Anvin
commit 69575d3886
12 changed files with 70 additions and 74 deletions

View file

@ -45,7 +45,7 @@
#include <acpi/acpi.h>
#include "accommon.h"
#include "actables.h"
#include <asm/tboot.h>
#include <linux/tboot.h>
#define _COMPONENT ACPI_HARDWARE
ACPI_MODULE_NAME("hwsleep")