diff options
author | Arjan van de Ven <arjan@infradead.org> | 2005-11-28 21:04:11 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-28 21:04:11 +0000 |
commit | cb3592be272d83011051dc49f4326355c01f1e1f (patch) | |
tree | 4eb094ef4e2a2b2f5c18f5ca2c2efe06a81974a0 /drivers/serial/8250_pci.c | |
parent | f5417612d787e6b619fd69616bbf95f1b895e900 (diff) | |
download | kernel_samsung_crespo-cb3592be272d83011051dc49f4326355c01f1e1f.zip kernel_samsung_crespo-cb3592be272d83011051dc49f4326355c01f1e1f.tar.gz kernel_samsung_crespo-cb3592be272d83011051dc49f4326355c01f1e1f.tar.bz2 |
[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 5c3c039..8d92adf 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c @@ -468,7 +468,7 @@ static unsigned short timedia_eight_port[] = { 0x9167, 0x9168, 0xA066, 0xA167, 0xA168, 0 }; -static struct timedia_struct { +static const struct timedia_struct { int num; unsigned short *ids; } timedia_data[] = { |