[SCSI] Mark some core scsi data structures const

patch below marks a few scsi core datastructures as const, so that they end up
in the .rodata section and don't cacheline share with things that get dirtied

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
Arjan van de Ven
2005-11-28 16:22:25 +01:00
committed by James Bottomley
parent ce155ccecd
commit 0ad78200ba
8 changed files with 21 additions and 21 deletions

View File

@ -730,7 +730,7 @@ static void get_capabilities(struct scsi_cd *cd)
unsigned int the_result;
int retries, rc, n;
static char *loadmech[] =
static const char *loadmech[] =
{
"caddy",
"tray",