]> git.baikalelectronics.ru Git - kernel.git/commit
earlycon: Fix __earlycon_table stride
authorPeter Hurley <peter@hurleysoftware.com>
Fri, 3 Apr 2015 12:57:51 +0000 (08:57 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Apr 2015 12:39:53 +0000 (14:39 +0200)
commit837a54403b879bde04db5793d633047432a4601a
tree745d2707881decb96bf8ca0746c02d22f088e5e8
parent3a2ada2d8586f3d456f8f8d57faf2f0cad8f27d7
earlycon: Fix __earlycon_table stride

The compiler and the linker must agree on the alignment of
struct earlycon_id; empirical testing and commit 681bddb781b28f
("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>
include/asm-generic/vmlinux.lds.h
include/linux/serial_core.h