summaryrefslogtreecommitdiff
path: root/arch/parisc/boot/compressed/misc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 21:15:49 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 21:15:49 +0300
commit11d5576880aed34b8aa4e8049afdab92793b071f (patch)
tree904723562ac41ce4352fa18bd449b76e7dfebeb4 /arch/parisc/boot/compressed/misc.c
parentd6742212c0c6ccee2351499db80acba71fa36052 (diff)
parentc42813b71a06a2ff4a155aa87ac609feeab76cf3 (diff)
downloadlinux-11d5576880aed34b8aa4e8049afdab92793b071f.tar.xz
Merge tag 'for-5.15/parisc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc architecture fixes from Helge Deller: "Fix an unaligned-access crash in the bootloader and drop asm/swab.h" * tag 'for-5.15/parisc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: parisc: Fix unaligned-access crash in bootloader parisc: Drop __arch_swab16(), arch_swab24(), _arch_swab32() and __arch_swab64() functions
Diffstat (limited to 'arch/parisc/boot/compressed/misc.c')
-rw-r--r--arch/parisc/boot/compressed/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/boot/compressed/misc.c b/arch/parisc/boot/compressed/misc.c
index 2d395998f524..7ee49f5881d1 100644
--- a/arch/parisc/boot/compressed/misc.c
+++ b/arch/parisc/boot/compressed/misc.c
@@ -26,7 +26,7 @@
extern char input_data[];
extern int input_len;
/* output_len is inserted by the linker possibly at an unaligned address */
-extern __le32 output_len __aligned(1);
+extern char output_len;
extern char _text, _end;
extern char _bss, _ebss;
extern char _startcode_end;