diff options
author | Helge Deller <deller@gmx.de> | 2023-11-20 15:39:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-08 08:52:19 +0100 |
commit | b8ee167df9e7d3f510908bfaf85333c1f8b34102 (patch) | |
tree | 9ebc60a23726ebb0a2a3160dcf86cc81176f1d11 /arch | |
parent | bf2040129110724ca59cb552f02a78b1ac12c60b (diff) | |
download | linux-stable-b8ee167df9e7d3f510908bfaf85333c1f8b34102.tar.gz linux-stable-b8ee167df9e7d3f510908bfaf85333c1f8b34102.tar.bz2 linux-stable-b8ee167df9e7d3f510908bfaf85333c1f8b34102.zip |
parisc: Mark ex_table entries 32-bit aligned in uaccess.h
commit a80aeb86542a50aa8521729ea4cc731ee7174f03 upstream.
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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-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" |