summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2017-04-07 09:34:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-31 14:46:11 +0100
commit7cb4b606421771e5c3f0de7677dfc0e14f8a6c9e (patch)
tree20e339622337b1f5791cd7ec03ce40158bee04c3 /include
parent3758d94e951332186183a6e20bfac257183965da (diff)
downloadlinux-stable-7cb4b606421771e5c3f0de7677dfc0e14f8a6c9e.tar.gz
linux-stable-7cb4b606421771e5c3f0de7677dfc0e14f8a6c9e.tar.bz2
linux-stable-7cb4b606421771e5c3f0de7677dfc0e14f8a6c9e.zip
scsi: sg: disable SET_FORCE_LOW_DMA
commit 745dfa0d8ec26b24f3304459ff6e9eacc5c8351b upstream. The ioctl SET_FORCE_LOW_DMA has never worked since the initial git check-in, and the respective setting is nowadays handled correctly. So disable it entirely. Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Tested-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/sg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/sg.h b/include/scsi/sg.h
index 750e5db7c6bf..0bb73deebbb4 100644
--- a/include/scsi/sg.h
+++ b/include/scsi/sg.h
@@ -194,7 +194,6 @@ typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */
#define SG_DEFAULT_RETRIES 0
/* Defaults, commented if they differ from original sg driver */
-#define SG_DEF_FORCE_LOW_DMA 0 /* was 1 -> memory below 16MB on i386 */
#define SG_DEF_FORCE_PACK_ID 0
#define SG_DEF_KEEP_ORPHAN 0
#define SG_DEF_RESERVED_SIZE SG_SCATTER_SZ /* load time option */