summaryrefslogtreecommitdiffstats
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorDave Young2018-01-02 18:21:09 +0100
committerIngo Molnar2018-01-03 13:54:31 +0100
commit835bcec5fdf3f9e880111b482177e7e70e3596da (patch)
tree3b51709f605b78c93884d884b43d185fab3c5d2e /include/linux/efi.h
parentLinux 4.15-rc6 (diff)
downloadkernel-qcow2-linux-835bcec5fdf3f9e880111b482177e7e70e3596da.tar.gz
kernel-qcow2-linux-835bcec5fdf3f9e880111b482177e7e70e3596da.tar.xz
kernel-qcow2-linux-835bcec5fdf3f9e880111b482177e7e70e3596da.zip
x86/efi: Fix kernel param add_efi_memmap regression
'add_efi_memmap' is an early param, but do_add_efi_memmap() has no chance to run because the code path is before parse_early_param(). I believe it worked when the param was introduced but probably later some other changes caused the wrong order and nobody noticed it. Move efi_memblock_x86_reserve_range() after parse_early_param() to fix it. Signed-off-by: Dave Young <dyoung@redhat.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Bryan O'Donoghue <pure.logic@nexus-software.ie> Cc: Ge Song <ge.song@hxt-semitech.com> 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/20180102172110.17018-2-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
0 files changed, 0 insertions, 0 deletions