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:
committed by
H. Peter Anvin
parent
62a3207b8c
commit
69575d3886
@@ -66,6 +66,7 @@
|
||||
|
||||
#include <linux/percpu.h>
|
||||
#include <linux/crash_dump.h>
|
||||
#include <linux/tboot.h>
|
||||
|
||||
#include <video/edid.h>
|
||||
|
||||
@@ -145,8 +146,6 @@ struct boot_params __initdata boot_params;
|
||||
struct boot_params boot_params;
|
||||
#endif
|
||||
|
||||
#include <asm/tboot.h>
|
||||
|
||||
/*
|
||||
* Machine setup..
|
||||
*/
|
||||
|
Reference in New Issue
Block a user