efi/gop: Unify 32/64-bit functions
authorArvind Sankar <nivedita@alum.mit.edu>
Tue, 24 Dec 2019 15:10:04 +0000 (16:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 25 Dec 2019 09:49:15 +0000 (10:49 +0100)
commit8de8788d21826457ac3bfd1629d0e280f67c7b5f
treeae5d29693abd948a2eda4eadd69399d4d23f3704
parent44c84b4ada73b8ff156181fcf6e320459b8daefd
efi/gop: Unify 32/64-bit functions

Use efi_table_attr macro to deal with 32/64-bit firmware using the same
source code.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: James Morse <james.morse@arm.com>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: https://lkml.kernel.org/r/20191224151025.32482-5-ardb@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/libstub/gop.c