]> git.baikalelectronics.ru Git - kernel.git/commit
efi: Use EFI ResetSystem only when available
authorArd Biesheuvel <ardb@kernel.org>
Thu, 23 Jan 2020 12:12:14 +0000 (13:12 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit3bb75d645a8d3557909e8741f10178467a10f744
tree8c0373b66c6de4d03d4794243d7f08be23bc30df
parent1a2055723024b2ccbb58af95b59b0e97c05f465b
efi: Use EFI ResetSystem only when available

Do not attempt to call EFI ResetSystem if the runtime supported mask tells
us it is no longer functional at OS runtime.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/reboot.c