[SERIAL] mark several serial tables const
This patch marks a few serial data structures const, moving them to .rodata where they won't false-share cachelines with things that get written to. Signed-off-by:Arjan van de Ven <arjan@infradead.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
Showing
- drivers/serial/8250.c 1 addition, 1 deletiondrivers/serial/8250.c
- drivers/serial/8250_pci.c 1 addition, 1 deletiondrivers/serial/8250_pci.c
- drivers/serial/serial_core.c 1 addition, 1 deletiondrivers/serial/serial_core.c
- drivers/serial/serial_cs.c 3 additions, 3 deletionsdrivers/serial/serial_cs.c
Loading
Please register or sign in to comment