diff options
author | Matt Fleming <matt.fleming@intel.com> | 2014-06-13 15:22:22 +0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-07-19 00:23:51 +0400 |
commit | 8562c99cdd30217dea3609e268572f8764f401a5 (patch) | |
tree | 4a494dab6d089e0030255d2c5f6521b35321b97f /drivers/firmware/efi/Makefile | |
parent | f4f75ad5741fe0331bbe1f5c42b906cda299f26b (diff) | |
download | linux-8562c99cdd30217dea3609e268572f8764f401a5.tar.xz |
efi/reboot: Add generic wrapper around EfiResetSystem()
Implement efi_reboot(), which is really just a wrapper around the
EfiResetSystem() EFI runtime service, but it does at least allow us to
funnel all callers through a single location.
It also simplifies the callsites since users no longer need to check to
see whether EFI_RUNTIME_SERVICES are enabled.
Cc: Tony Luck <tony.luck@intel.com>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware/efi/Makefile')
-rw-r--r-- | drivers/firmware/efi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/Makefile b/drivers/firmware/efi/Makefile index a204d1474cec..d8be608a9f3b 100644 --- a/drivers/firmware/efi/Makefile +++ b/drivers/firmware/efi/Makefile @@ -1,7 +1,7 @@ # # Makefile for linux kernel # -obj-$(CONFIG_EFI) += efi.o vars.o +obj-$(CONFIG_EFI) += efi.o vars.o reboot.o obj-$(CONFIG_EFI_VARS) += efivars.o obj-$(CONFIG_EFI_VARS_PSTORE) += efi-pstore.o obj-$(CONFIG_UEFI_CPER) += cper.o |