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

From: Ingo Molnar
Date: Mon Aug 17 2009 - 11:41:45 EST



* Joseph Cihula <joseph.cihula@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/