diff options
author | Arjan van de Ven <arjan@infradead.org> | 2005-11-28 12:06:23 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-01 10:29:35 +0300 |
commit | 98ac62defe529d04a192688f40d801a2d8fbcf98 (patch) | |
tree | f37be3b98a245f83d6c2ed37938377ed0b1bcae6 /drivers/scsi/sata_sx4.c | |
parent | 6946d28a9f47f50fe3dd916e8b4229de9769108e (diff) | |
download | linux-98ac62defe529d04a192688f40d801a2d8fbcf98.tar.xz |
[PATCH] mark several libata datastructures const
Hi,
the patch below marks several libata (and libata-driver) structures
const so that they end up in the .rodata segment and don't false-share
cachelines with things that get dirtied often.
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_sx4.c')
-rw-r--r-- | drivers/scsi/sata_sx4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_sx4.c b/drivers/scsi/sata_sx4.c index dcc3ad9a9d6e..7c4b53575510 100644 --- a/drivers/scsi/sata_sx4.c +++ b/drivers/scsi/sata_sx4.c @@ -215,7 +215,7 @@ static const struct ata_port_operations pdc_20621_ops = { .host_stop = pdc20621_host_stop, }; -static struct ata_port_info pdc_port_info[] = { +static const struct ata_port_info pdc_port_info[] = { /* board_20621 */ { .sht = &pdc_sata_sht, |