summaryrefslogtreecommitdiff
path: root/drivers/scsi/ips.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-10-18 16:03:34 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-07 05:31:28 +0300
commit88693b3c9681a0c10b8fe73a0be9bfa0ea63de1f (patch)
treee7a2c36cdc87b2af4629877adc719093c7b611c4 /drivers/scsi/ips.h
parent6f6eb3ccc6ff46137b1d2951ef3a0a163a0aa601 (diff)
downloadlinux-88693b3c9681a0c10b8fe73a0be9bfa0ea63de1f.tar.xz
scsi: ips: properly handle 64-bit DMA
CONFIG_HIGHMEM64 is only one (and these days unusual) way to indicate that > 32-bit dma address are possible. Replace it with a check of the dma_addr_t size. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ips.h')
-rw-r--r--drivers/scsi/ips.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h
index 42c180e3938b..6c0678fb9a67 100644
--- a/drivers/scsi/ips.h
+++ b/drivers/scsi/ips.h
@@ -96,12 +96,6 @@
#define __iomem
#endif
- #if (BITS_PER_LONG > 32) || defined(CONFIG_HIGHMEM64G)
- #define IPS_ENABLE_DMA64 (1)
- #else
- #define IPS_ENABLE_DMA64 (0)
- #endif
-
/*
* Adapter address map equates
*/