summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorMing Lin <ming.l@ssi.samsung.com>2016-02-10 18:03:31 (GMT)
committerJens Axboe <axboe@fb.com>2016-02-10 21:22:36 (GMT)
commit9f2482b91bcd02ac2999cf04b3fb1b89e1c4d559 (patch)
tree1771a4ecb198bf63271f081f0a3332830e718e7e /drivers/nvme/host/nvme.h
parentba0ba7d3e5266111ec865b0bf1ad48dd0e2a2314 (diff)
downloadlinux-9f2482b91bcd02ac2999cf04b3fb1b89e1c4d559.tar.xz
nvme: split dev_list_lock
Split dev_list_lock into one in the core and one in the PCI driver. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Ming Lin <ming.l@ssi.samsung.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r--drivers/nvme/host/nvme.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index 9f77386..63ba8a5 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -266,8 +266,6 @@ int nvme_set_features(struct nvme_ctrl *dev, unsigned fid, unsigned dword11,
dma_addr_t dma_addr, u32 *result);
int nvme_set_queue_count(struct nvme_ctrl *ctrl, int *count);
-extern spinlock_t dev_list_lock;
-
struct sg_io_hdr;
int nvme_sg_io(struct nvme_ns *ns, struct sg_io_hdr __user *u_hdr);