summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-09-22 17:05:17 +0300
committerJens Axboe <axboe@fb.com>2016-09-22 17:05:17 +0300
commit9467f85960a31d56f95371516e55e210e1e3d51c (patch)
tree9f770d6ff47c5bf72ad037f5b266fc77378050d6 /include/linux
parent5dfcfb02e18dec9a2f56765011817706e1ab1daf (diff)
downloadlinux-9467f85960a31d56f95371516e55e210e1e3d51c.tar.xz
blk-mq/cpu-notif: Convert to new hotplug state machine
Replace the block-mq notifier list management with the multi instance facility in the cpu hotplug state machine. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linux-block@vger.kernel.org Cc: rt@linutronix.de Cc: Christoph Hellwing <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blk-mq.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index fbcfdf323243..b3d1a7f4b5f2 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -7,12 +7,6 @@
struct blk_mq_tags;
struct blk_flush_queue;
-struct blk_mq_cpu_notifier {
- struct list_head list;
- void *data;
- int (*notify)(void *data, unsigned long action, unsigned int cpu);
-};
-
struct blk_mq_hw_ctx {
struct {
spinlock_t lock;
@@ -53,7 +47,7 @@ struct blk_mq_hw_ctx {
struct delayed_work delay_work;
- struct blk_mq_cpu_notifier cpu_notifier;
+ struct hlist_node cpuhp_dead;
struct kobject kobj;
unsigned long poll_considered;