On Tue, 2013-02-26 at 19:43 +0100, Tom Gundersen wrote:
> This registers /sys/firmware/efi/{,systab,efivars/} whenever EFI is enabled
> and the system is booted with EFI.
>
> This allows
> *) userspace to check for the existence of /sys/firmware/efi as a way
> to determine whether or it is running on an EFI system.
> *) 'mount -t efivarfs none /sys/firmware/efi/efivars' without manually
> loading any modules.
>
> v5: remove unnecessary #ifdef's
> v4: rebase on top of the chainsaw branch:
> - split into efi.c and vars.c
> - move systab from vars.c to efi.c
> - address checkpatch warnings
> v3: rebase on top of new efi_enabled()
> v2: only create /sys/firmware/efi/efivars if the module is being compiled,
> and move extern's to efi.h
>
> Cc: Matt Fleming <[email protected]>
> Cc: Kay Sievers <[email protected]>
> Cc: Jeremy Kerr <[email protected]>
> Cc: Matthew Garrett <[email protected]>
> Cc: Chun-Yi Lee <[email protected]>
> Cc: Andy Whitcroft <[email protected]>
> Cc: Tobias Powalowski <[email protected]>
> Signed-off-by: Tom Gundersen <[email protected]>
> ---
> drivers/firmware/Makefile | 1 -
> drivers/firmware/efi/Makefile | 2 +
> drivers/firmware/efi/efi.c | 105 +++++
> drivers/firmware/efi/vars.c | 858 +++++++++++++++++++++++++++++++++++++
> drivers/firmware/efivars.c | 955
> ------------------------------------------
> include/linux/efi.h | 2 +
> 6 files changed, 967 insertions(+), 956 deletions(-)
> create mode 100644 drivers/firmware/efi/efi.c
> create mode 100644 drivers/firmware/efi/vars.c
> delete mode 100644 drivers/firmware/efivars.c
Thanks Tom, I've picked this up. I need to respin this branch against
Linus' because there were some efivars change this merge window.
--
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