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_pci.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_pci.c')
-rw-r--r-- | drivers/serial/8250_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index 5c3c03932d6d..8d92adfbb8bd 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c | |||
@@ -468,7 +468,7 @@ static unsigned short timedia_eight_port[] = { | |||
468 | 0x9167, 0x9168, 0xA066, 0xA167, 0xA168, 0 | 468 | 0x9167, 0x9168, 0xA066, 0xA167, 0xA168, 0 |
469 | }; | 469 | }; |
470 | 470 | ||
471 | static struct timedia_struct { | 471 | static const struct timedia_struct { |
472 | int num; | 472 | int num; |
473 | unsigned short *ids; | 473 | unsigned short *ids; |
474 | } timedia_data[] = { | 474 | } timedia_data[] = { |