linux/export: Fix alignment for 64-bit ksymtab entries
authorHelge Deller <deller@gmx.de>
Wed, 22 Nov 2023 22:18:11 +0000 (23:18 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 23 Dec 2023 14:24:03 +0000 (23:24 +0900)
commitf6847807c22f6944c71c981b630b9fff30801e73
treea46818da16485a59690c76e19ed99a28f1ca3b62
parent2cc14f52aeb78ce3f29677c2de1f06c0e91471ab
linux/export: Fix alignment for 64-bit ksymtab entries

An alignment of 4 bytes is wrong for 64-bit platforms which don't define
CONFIG_HAVE_ARCH_PREL32_RELOCATIONS (which then store 64-bit pointers).
Fix their alignment to 8 bytes.

Fixes: ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
include/linux/export-internal.h