Re: [PATCH] x86, efi: remove duplicate code in setup_arch() by using, efi_is_native()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2013-02-14 at 09:07 +0900, Satoru Takeuchi wrote:
> From: Satoru Takeuchi <takeuchi_satoru@xxxxxxxxxxxxxx>
> 
> 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 <takeuchi_satoru@xxxxxxxxxxxxxx>
> Cc: Matt Fleming <matt.fleming@xxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> ---
>  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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux