diff options
author | Hannes Reinecke <hare@suse.de> | 2017-04-07 09:34:12 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2020-06-11 19:05:47 +0100 |
commit | 0e8d9ca262840625610449e05cac4a2c9d7be83a (patch) | |
tree | 9f69e20cedc949e2114df215bcbeb79f54dbee70 /include/scsi/sg.h | |
parent | 6d391ab54157b36331528d526957688f458a11bf (diff) | |
download | linux-stable-0e8d9ca262840625610449e05cac4a2c9d7be83a.tar.gz linux-stable-0e8d9ca262840625610449e05cac4a2c9d7be83a.tar.bz2 linux-stable-0e8d9ca262840625610449e05cac4a2c9d7be83a.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>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/scsi/sg.h')
-rw-r--r-- | include/scsi/sg.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/sg.h b/include/scsi/sg.h index a9f3c6fc3f57..034cf63c1342 100644 --- a/include/scsi/sg.h +++ b/include/scsi/sg.h @@ -234,7 +234,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 */ |