x86/setup: Move internal setup_data structures into setup_data.h
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 12 Jan 2024 09:44:37 +0000 (10:44 +0100)
committerBorislav Petkov (AMD) <bp@alien8.de>
Tue, 30 Jan 2024 14:17:12 +0000 (15:17 +0100)
commit2afa7994f794016d117b192e36b856df66d71172
treed8357cfdc1781989b76d16886c1cfb462ca9b883
parentefd7def00406ac57400501cdc76d0d95d4691927
x86/setup: Move internal setup_data structures into setup_data.h

Move struct_efi_setup_data in order to unify duplicated definition of
the data structure in a single place. Also silence clang's warnings
about GNU extensions in real-mode code which might occur from the
changed includes.

  [ bp: Massage commit message. ]

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20240112095000.8952-3-tzimmermann@suse.de
arch/x86/Makefile
arch/x86/boot/compressed/efi.h
arch/x86/include/asm/efi.h
arch/x86/include/asm/pci.h
arch/x86/include/asm/setup_data.h [new file with mode: 0644]