summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-01-12 10:44:37 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2024-01-30 15:17:12 +0100
commit2afa7994f794016d117b192e36b856df66d71172 (patch)
treed8357cfdc1781989b76d16886c1cfb462ca9b883 /arch/x86/boot/compressed
parentefd7def00406ac57400501cdc76d0d95d4691927 (diff)
downloadlinux-stable-2afa7994f794016d117b192e36b856df66d71172.tar.gz
linux-stable-2afa7994f794016d117b192e36b856df66d71172.tar.bz2
linux-stable-2afa7994f794016d117b192e36b856df66d71172.zip
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
Diffstat (limited to 'arch/x86/boot/compressed')
-rw-r--r--arch/x86/boot/compressed/efi.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/boot/compressed/efi.h b/arch/x86/boot/compressed/efi.h
index 866c0af8b5b9..b22300970f97 100644
--- a/arch/x86/boot/compressed/efi.h
+++ b/arch/x86/boot/compressed/efi.h
@@ -97,15 +97,6 @@ typedef struct {
u32 tables;
} efi_system_table_32_t;
-/* kexec external ABI */
-struct efi_setup_data {
- u64 fw_vendor;
- u64 __unused;
- u64 tables;
- u64 smbios;
- u64 reserved[8];
-};
-
struct efi_unaccepted_memory {
u32 version;
u32 unit_size;