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/8250.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/8250.c')
-rw-r--r-- | drivers/serial/8250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index e08510d09ff6..d2bcd1f87cd6 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c | |||
@@ -102,7 +102,7 @@ static unsigned int share_irqs = SERIAL8250_SHARE_IRQS; | |||
102 | #define SERIAL_PORT_DFNS | 102 | #define SERIAL_PORT_DFNS |
103 | #endif | 103 | #endif |
104 | 104 | ||
105 | static struct old_serial_port old_serial_port[] = { | 105 | static const struct old_serial_port old_serial_port[] = { |
106 | SERIAL_PORT_DFNS /* defined in asm/serial.h */ | 106 | SERIAL_PORT_DFNS /* defined in asm/serial.h */ |
107 | }; | 107 | }; |
108 | 108 | ||