diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2015-04-03 08:57:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-10 14:39:53 +0200 |
commit | 99492c39f39fc2d8c4ae36ecfb88d7de5d8106b5 (patch) | |
tree | 745d2707881decb96bf8ca0746c02d22f088e5e8 /include/asm-generic/vmlinux.lds.h | |
parent | b3e3bf2ef2c74f5ce5c19510edbbb9bfc1d249c2 (diff) | |
download | blackbird-op-linux-99492c39f39fc2d8c4ae36ecfb88d7de5d8106b5.tar.gz blackbird-op-linux-99492c39f39fc2d8c4ae36ecfb88d7de5d8106b5.zip |
earlycon: Fix __earlycon_table stride
The compiler and the linker must agree on the alignment of
struct earlycon_id; empirical testing and commit 07fca0e57fca92
("tracing: Properly align linker defined symbols") suggests
32-byte alignment is the LCD.
Reported-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 87e5b6f8f4fc..561daf49e52f 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -151,7 +151,7 @@ #endif #ifdef CONFIG_SERIAL_EARLYCON -#define EARLYCON_TABLE() . = ALIGN(8); \ +#define EARLYCON_TABLE() STRUCT_ALIGN(); \ VMLINUX_SYMBOL(__earlycon_table) = .; \ *(__earlycon_table) \ *(__earlycon_table_end) |