diff options
author | Sai Praneeth <sai.praneeth.prakhya@intel.com> | 2018-07-11 11:40:34 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-07-16 00:43:12 +0200 |
commit | 5a58bc1b1edc18a9edff606ec99e6f6b723975f4 (patch) | |
tree | 250e426e45b10c2d1c29aa3e6951fbe4af3caf1b /drivers/firmware/efi/runtime-wrappers.c | |
parent | efi/x86: Clean up the eboot code (diff) | |
download | linux-5a58bc1b1edc18a9edff606ec99e6f6b723975f4.tar.xz linux-5a58bc1b1edc18a9edff606ec99e6f6b723975f4.zip |
efi/x86: Use non-blocking SetVariable() for efi_delete_dummy_variable()
Presently, efi_delete_dummy_variable() uses set_variable() which might
block, which the scheduler is rightfully upset about when used from
the idle thread, producing this splat:
"bad: scheduling from the idle thread!"
So, make efi_delete_dummy_variable() use set_variable_nonblocking(),
which, as the name suggests, doesn't block.
Signed-off-by: Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180711094040.12506-3-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/runtime-wrappers.c')
0 files changed, 0 insertions, 0 deletions