aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2013-11-14 10:26:02 -0500
committerJens Axboe <axboe@kernel.dk>2013-11-14 10:26:02 -0500
commitf618ef7c47934d1686a764d0c9f70f23e566683f (patch)
tree61eb2bdac3d7e9f36ef68fab4c09b04b5730e879 /block
parentd17ab4592760973d95961bb29f26969246e9dabc (diff)
blk-mq: remove newly added instances of __cpuinit
The new blk-mq code added new instances of __cpuinit usage. We removed this a couple versions ago; we now want to remove the compat no-op stubs. Introducing new users is not what we want to see at this point in time, as it will break once the stubs are gone. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq-cpu.c8
-rw-r--r--block/blk-mq.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/block/blk-mq-cpu.c b/block/blk-mq-cpu.c
index f8ea39d7ae54..0045ace9bdf0 100644
--- a/block/blk-mq-cpu.c
+++ b/block/blk-mq-cpu.c
@@ -13,8 +13,8 @@
13static LIST_HEAD(blk_mq_cpu_notify_list); 13static LIST_HEAD(blk_mq_cpu_notify_list);
14static DEFINE_SPINLOCK(blk_mq_cpu_notify_lock); 14static DEFINE_SPINLOCK(blk_mq_cpu_notify_lock);
15 15
16static int __cpuinit blk_mq_main_cpu_notify(struct notifier_block *self, 16static int blk_mq_main_cpu_notify(struct notifier_block *self,
17 unsigned long action, void *hcpu) 17 unsigned long action, void *hcpu)
18{ 18{
19 unsigned int cpu = (unsigned long) hcpu; 19 unsigned int cpu = (unsigned long) hcpu;
20 struct blk_mq_cpu_notifier *notify; 20 struct blk_mq_cpu_notifier *notify;
@@ -28,8 +28,8 @@ static int __cpuinit blk_mq_main_cpu_notify(struct notifier_block *self,
28 return NOTIFY_OK; 28 return NOTIFY_OK;
29} 29}
30 30
31static void __cpuinit blk_mq_cpu_notify(void *data, unsigned long action, 31static void blk_mq_cpu_notify(void *data, unsigned long action,
32 unsigned int cpu) 32 unsigned int cpu)
33{ 33{
34 if (action == CPU_DEAD || action == CPU_DEAD_FROZEN) { 34 if (action == CPU_DEAD || action == CPU_DEAD_FROZEN) {
35 /* 35 /*
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 88d4e864d4c0..3638a58c7645 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1444,7 +1444,7 @@ void blk_mq_free_queue(struct request_queue *q)
1444EXPORT_SYMBOL(blk_mq_free_queue); 1444EXPORT_SYMBOL(blk_mq_free_queue);
1445 1445
1446/* Basically redo blk_mq_init_queue with queue frozen */ 1446/* Basically redo blk_mq_init_queue with queue frozen */
1447static void __cpuinit blk_mq_queue_reinit(struct request_queue *q) 1447static void blk_mq_queue_reinit(struct request_queue *q)
1448{ 1448{
1449 blk_mq_freeze_queue(q); 1449 blk_mq_freeze_queue(q);
1450 1450
@@ -1461,8 +1461,8 @@ static void __cpuinit blk_mq_queue_reinit(struct request_queue *q)
1461 blk_mq_unfreeze_queue(q); 1461 blk_mq_unfreeze_queue(q);
1462} 1462}
1463 1463
1464static int __cpuinit blk_mq_queue_reinit_notify(struct notifier_block *nb, 1464static int blk_mq_queue_reinit_notify(struct notifier_block *nb,
1465 unsigned long action, void *hcpu) 1465 unsigned long action, void *hcpu)
1466{ 1466{
1467 struct request_queue *q; 1467 struct request_queue *q;
1468 1468