diff options
| author | Helge Deller <[email protected]> | 2017-09-22 19:57:11 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2017-09-22 20:26:43 +0000 |
| commit | 8c031ba63f8f2a9efc471cb45b2ff18271556544 (patch) | |
| tree | 1f3b063ef0f04076f848a0bafb90742a2a630ad4 /fs/proc/array.c | |
| parent | parisc: Reintroduce option to gzip-compress the kernel (diff) | |
| download | kernel-8c031ba63f8f2a9efc471cb45b2ff18271556544.tar.gz kernel-8c031ba63f8f2a9efc471cb45b2ff18271556544.zip | |
parisc: Unbreak bootloader due to gcc-7 optimizations
gcc-7 optimizes the byte-wise accesses of get_unaligned_le32() into
word-wise accesses if the 32-bit integer output_len is declared as
external. This panics then the bootloader since we don't have the
unaligned access fault trap handler installed during boot time.
Avoid this optimization by declaring output_len as byte-aligned and thus
unbreak the bootloader code.
Additionally, compile the boot code optimized for size.
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
