From: Matt Fleming Date: Fri, 13 Jun 2014 11:22:22 +0000 (+0100) Subject: efi/reboot: Add generic wrapper around EfiResetSystem() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~174^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8562c99cdd30217dea3609e268572f8764f401a5;p=pandora-kernel.git 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 Tested-by: Mark Salter Signed-off-by: Matt Fleming --- Reading git-diff-tree failed