]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
efi/x86: Fold __setup_efi_pci32() and __setup_efi_pci64() into one function
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 4 May 2018 06:00:00 +0000 (08:00 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 14 May 2018 06:57:49 +0000 (08:57 +0200)
commit2c3625cb9fa2c477d5877a1819e29d6a902e5fef
treefc43f10890dd409d862962522fee4ca3d519507e
parentcb0ba793525788e40e7a9ee82de8f3b017ca4459
efi/x86: Fold __setup_efi_pci32() and __setup_efi_pci64() into one function

As suggested by Lukas, use his efi_call_proto() and efi_table_attr()
macros to merge __setup_efi_pci32() and __setup_efi_pci64() into a
single function, removing the need to duplicate changes made in
subsequent patches across both.

Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Lukas Wunner <lukas@wunner.de>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180504060003.19618-15-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/boot/compressed/eboot.c