+1
−5
drivers/firmware/efi/reboot.c
0 → 100644
+26
−0
+4
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>