On Thu, 2013-02-14 at 09:07 +0900, Satoru Takeuchi wrote:
> From: Satoru Takeuchi <[email protected]>
> 
> The check, "IS_ENABLED(CONFIG_X86_64) != efi_enabled(EFI_64BIT)",
> in setup_arch() can be replaced by efi_is_enabled(). This change
> remove duplicate code and improve readability.
> 
> Signed-off-by: Satoru Takeuchi <[email protected]>
> Cc: Matt Fleming <[email protected]>
> Cc: Thomas Gleixner <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Cc: "H. Peter Anvin" <[email protected]>
> ---
>  arch/x86/include/asm/efi.h  |    9 ++++++++-
>  arch/x86/kernel/setup.c     |    3 +--
>  arch/x86/platform/efi/efi.c |    5 -----
>  3 files changed, 9 insertions(+), 8 deletions(-)

Applied, thanks!


--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to