parisc: Use natural CPU alignment for bug_table
authorHelge Deller <deller@gmx.de>
Mon, 20 Nov 2023 22:30:49 +0000 (23:30 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 25 Nov 2023 08:43:18 +0000 (09:43 +0100)
commitfe76a1349f235969381832c83d703bc911021eb6
treebcc7e2a180c44b042124d89463353106480c1f2d
parentc9fcb2b65c2849e8ff3be23fd8828312fb68dc19
parisc: Use natural CPU alignment for bug_table

Make sure that the __bug_table section gets 32- or 64-bit aligned,
depending if a 32- or 64-bit kernel is being built.
Mark it non-writeable and use .blockz instead of the .org assembler
directive to pad the struct.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org # v6.0+
arch/parisc/include/asm/bug.h