Re: [RFC v6][PATCH 2/4] intel_txt: Intel(R) TXT reboot/halt shutdown support

Ingo Molnar
2009-08-17T15:41:37Z

* Joseph Cihula <joseph.cihula@intel.com> wrote:

> diff -uprN -X linus-2.6.git-0629/Documentation/dontdiff linus-2.6.git-0629/init/main.c linus-2.6.git-0629-txt/init/main.c
> --- linus-2.6.git-0629/init/main.c 2009-06-29 21:57:26.000000000 -0700
> +++ linus-2.6.git-0629-txt/init/main.c 2009-06-29 22:23:07.000000000 -0700
> @@ -73,6 +73,7 @@
> #include <asm/io.h>
> #include <asm/bugs.h>
> #include <asm/setup.h>
> +#include <asm/tboot.h>
> #include <asm/sections.h>
> #include <asm/cacheflush.h>
>
> @@ -715,6 +716,8 @@ asmlinkage void __init start_kernel(void
>
> ftrace_init();
>
> + tboot_create_trampoline();
> +
> /* Do the rest non-__init'ed, we're now alive */
> rest_init();
> }

hm, this breaks the kernel build on every non-x86 architecture -
none of which has asm/tboot.h.

Ingo