diff options
author | Arjan van de Ven <arjan@infradead.org> | 2005-11-28 16:04:11 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-28 16:04:11 -0500 |
commit | cb3592be272d83011051dc49f4326355c01f1e1f (patch) | |
tree | 4eb094ef4e2a2b2f5c18f5ca2c2efe06a81974a0 /drivers/serial/serial_core.c | |
parent | f5417612d787e6b619fd69616bbf95f1b895e900 (diff) |
[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>
Diffstat (limited to 'drivers/serial/serial_core.c')
-rw-r--r-- | drivers/serial/serial_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c index 2331296e1e1..c17d680e3f0 100644 --- a/drivers/serial/serial_core.c +++ b/drivers/serial/serial_core.c | |||
@@ -1779,7 +1779,7 @@ struct baud_rates { | |||
1779 | unsigned int cflag; | 1779 | unsigned int cflag; |
1780 | }; | 1780 | }; |
1781 | 1781 | ||
1782 | static struct baud_rates baud_rates[] = { | 1782 | static const struct baud_rates baud_rates[] = { |
1783 | { 921600, B921600 }, | 1783 | { 921600, B921600 }, |
1784 | { 460800, B460800 }, | 1784 | { 460800, B460800 }, |
1785 | { 230400, B230400 }, | 1785 | { 230400, B230400 }, |