aboutsummaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorArd Biesheuvel2018-11-14 09:55:44 -0800
committerIngo Molnar2018-11-15 10:04:47 +0100
commit63eb322d89c8505af9b4a3d703e85e42281ebaa0 (patch)
tree6da384231bce837a16655294a2c40f3cfe916dcc /drivers/Makefile
parenteff896288872d687d9662000ec9ae11b6d61766f (diff)
efi: Permit calling efi_mem_reserve_persistent() from atomic context
Currently, efi_mem_reserve_persistent() may not be called from atomic context, since both the kmalloc() call and the memremap() call may sleep. The kmalloc() call is easy enough to fix, but the memremap() call needs to be moved into an init hook since we cannot control the memory allocation behavior of memremap() at the call site. 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/20181114175544.12860-6-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/Makefile')
0 files changed, 0 insertions, 0 deletions