mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
The efivars code requires EFI runtime services to function, so check that they are enabled. This fixes a crash when booting with the "noefi" kernel parameter, and also when mixing kernel and firmware "bitness", e.g. 32-bit kernel with 64-bit firmware. Tested-by: Dave Young <[email protected]> Signed-off-by: Matt Fleming <[email protected]>