aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_scan.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@infradead.org>2005-11-28 10:22:25 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 20:11:01 -0500
commit0ad78200baf1f85a21e6b26c225717ad80980d8f (patch)
tree7f5ffcd60c5bb1dd9a2ef943b2b0950bd5ac5b55 /drivers/scsi/scsi_scan.c
parentce155ccecd4094e7b5e68058d26db691713240fc (diff)
[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>
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r--drivers/scsi/scsi_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 94e5167f260d..950b087e4ca2 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -74,7 +74,7 @@
74#define SCSI_SCAN_TARGET_PRESENT 1 74#define SCSI_SCAN_TARGET_PRESENT 1
75#define SCSI_SCAN_LUN_PRESENT 2 75#define SCSI_SCAN_LUN_PRESENT 2
76 76
77static char *scsi_null_device_strs = "nullnullnullnull"; 77static const char *scsi_null_device_strs = "nullnullnullnull";
78 78
79#define MAX_SCSI_LUNS 512 79#define MAX_SCSI_LUNS 512
80 80