[RFC PATCH 1/1] Fix __kcrctab+* sections alignment

From: Yann Sionneau
Date: Wed Aug 17 2022 - 12:20:11 EST


Signed-off-by: Yann Sionneau <ysionneau@xxxxxxxxx>
---
include/linux/export-internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/export-internal.h b/include/linux/export-internal.h
index c2b1d4fd5987..d86bfbd7fa6d 100644
--- a/include/linux/export-internal.h
+++ b/include/linux/export-internal.h
@@ -12,6 +12,6 @@

/* __used is needed to keep __crc_* for LTO */
#define SYMBOL_CRC(sym, crc, sec) \
- u32 __section("___kcrctab" sec "+" #sym) __used __crc_##sym = crc
+ u32 __section("___kcrctab" sec "+" #sym) __used __aligned(4) __crc_##sym = crc

#endif /* __LINUX_EXPORT_INTERNAL_H__ */
--
2.37.2