[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>
This commit is contained in:
Arjan van de Ven
2005-11-28 10:06:23 +01:00
committed by Jeff Garzik
parent 6946d28a9f
commit 98ac62defe
8 changed files with 11 additions and 11 deletions

View File

@ -243,7 +243,7 @@ static const struct ata_port_operations ahci_ops = {
.port_stop = ahci_port_stop,
};
static struct ata_port_info ahci_port_info[] = {
static const struct ata_port_info ahci_port_info[] = {
/* board_ahci */
{
.sht = &ahci_sht,