diff options
| author | Helge Deller <[email protected]> | 2023-11-20 14:39:03 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2023-11-25 08:43:17 +0000 |
| commit | a80aeb86542a50aa8521729ea4cc731ee7174f03 (patch) | |
| tree | 988c7ca64dc36db23728124d145c006c730e6aaf | |
| parent | parisc: Mark ex_table entries 32-bit aligned in assembly.h (diff) | |
| download | kernel-a80aeb86542a50aa8521729ea4cc731ee7174f03.tar.gz kernel-a80aeb86542a50aa8521729ea4cc731ee7174f03.zip | |
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 <[email protected]>
Cc: [email protected] # v6.0+
| -rw-r--r-- | arch/parisc/include/asm/uaccess.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/uaccess.h b/arch/parisc/include/asm/uaccess.h index 2bf660eabe42..4165079898d9 100644 --- a/arch/parisc/include/asm/uaccess.h +++ b/arch/parisc/include/asm/uaccess.h @@ -41,6 +41,7 @@ struct exception_table_entry { #define ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr )\ ".section __ex_table,\"aw\"\n" \ + ".align 4\n" \ ".word (" #fault_addr " - .), (" #except_addr " - .)\n\t" \ ".previous\n" |
