Re: [PATCH] efi: x86: make "efi facility" use slightly more generic

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

 



On Tue, 14 Jan, at 05:41:25PM, Leif Lindholm wrote:
> Currently, efi_enabled() is defined to be a dummy macro always returning
> 1 unless CONFIG_X86. Change this logic to use a
> CONFIG_ARCH_USES_EFI_FACILITY to enable use by other architectures.
> 
> Signed-off-by: Leif Lindholm <leif.lindholm@xxxxxxxxxx>
> ---
>  arch/x86/Kconfig             |    1 +
>  drivers/firmware/efi/Kconfig |    3 +++
>  include/linux/efi.h          |    2 +-
>  3 files changed, 5 insertions(+), 1 deletion(-)

I'm not sure this is the way to go. I'd much prefer to treat introducing
CONFIG_* symbols like this a last resort only.

Let me post some patches to show you what I had in mind.

-- 
Matt Fleming, Intel Open Source Technology Center
--
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