]> git.baikalelectronics.ru Git - 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)
commit1621a674140c017b12643cc32ddf1ef91caea514
treefc43f10890dd409d862962522fee4ca3d519507e
parent9ae01f1823bd4a1fa08a3ea1db2e36f5c1015af1
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