efi: Print the secure boot status in x86 setup_arch()
authorDavid Howells <dhowells@redhat.com>
Mon, 6 Feb 2017 11:22:45 +0000 (11:22 +0000)
committerIngo Molnar <mingo@kernel.org>
Tue, 7 Feb 2017 09:42:10 +0000 (10:42 +0100)
commit9661b332041dab63ba2e5222b40a9f916c1368a9
tree2fbd6d823c92e87d8600d6355e4762b28ba2f9d2
parentf3cf6f7434debcc65f397228c689641b07c1be35
efi: Print the secure boot status in x86 setup_arch()

Print the secure boot status in the x86 setup_arch() function, but otherwise do
nothing more for now. More functionality will be added later, but this at
least allows for testing.

Signed-off-by: David Howells <dhowells@redhat.com>
[ Use efi_enabled() instead of IS_ENABLED(CONFIG_EFI). ]
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/1486380166-31868-7-git-send-email-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/setup.c