Skip to content

Commit a80aeb8

Browse files
committed
parisc: Mark ex_table entries 32-bit aligned in uaccess.h
Add an align statement to tell the linker that all ex_table entries and as such the whole ex_table section should be 32-bit aligned in vmlinux and modules. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # v6.0+
1 parent e11d4cc commit a80aeb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/parisc/include/asm/uaccess.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ struct exception_table_entry {
4141

4242
#define ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr )\
4343
".section __ex_table,\"aw\"\n" \
44+
".align 4\n" \
4445
".word (" #fault_addr " - .), (" #except_addr " - .)\n\t" \
4546
".previous\n"
4647

0 commit comments

Comments
 (0)