diff options
author | Stefan Assmann <[email protected]> | 2017-07-24 14:22:48 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-07-25 11:30:45 +0200 |
commit | 4ecf7191fdcc5686c1eb2b06d7f93ce29d636cf0 (patch) | |
tree | abbd25866a5224c4644d635eddd97fc539965a8b /tools/perf/util/trace-event-scripting.c | |
parent | 18d5e6c34a8eda438d5ad8b3b15f42dab01bf05d (diff) |
x86/efi: Fix reboot_mode when EFI runtime services are disabled
When EFI runtime services are disabled, for example by the "noefi"
kernel cmdline parameter, the reboot_type could still be set to
BOOT_EFI causing reboot to fail.
Fix this by checking if EFI runtime services are enabled.
Signed-off-by: Stefan Assmann <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Fixed 'not disabled' double negation. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions