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

View File

@@ -33,7 +33,7 @@
#include <linux/timer.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <asm/tboot.h>
#include <linux/tboot.h>
#undef PREFIX
#define PREFIX "DMAR:"