aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorStefan Assmann <[email protected]>2017-07-24 14:22:48 +0200
committerIngo Molnar <[email protected]>2017-07-25 11:30:45 +0200
commit4ecf7191fdcc5686c1eb2b06d7f93ce29d636cf0 (patch)
treeabbd25866a5224c4644d635eddd97fc539965a8b /tools/perf/util/trace-event-scripting.c
parent18d5e6c34a8eda438d5ad8b3b15f42dab01bf05d (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