Skip to content

Commit 044c8d4

Browse files
Yuanhan Liutorvalds
authored andcommitted
kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS cleanly
Remove CONFIG_USE_GENERIC_SMP_HELPERS left by commit 0a06ff0 ("kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS"). Signed-off-by: Yuanhan Liu <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent a399b29 commit 044c8d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

drivers/block/null_blk.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static void null_softirq_done_fn(struct request *rq)
223223
blk_end_request_all(rq, 0);
224224
}
225225

226-
#if defined(CONFIG_SMP) && defined(CONFIG_USE_GENERIC_SMP_HELPERS)
226+
#ifdef CONFIG_SMP
227227

228228
static void null_ipi_cmd_end_io(void *data)
229229
{
@@ -260,7 +260,7 @@ static void null_cmd_end_ipi(struct nullb_cmd *cmd)
260260
put_cpu();
261261
}
262262

263-
#endif /* CONFIG_SMP && CONFIG_USE_GENERIC_SMP_HELPERS */
263+
#endif /* CONFIG_SMP */
264264

265265
static inline void null_handle_cmd(struct nullb_cmd *cmd)
266266
{
@@ -270,7 +270,7 @@ static inline void null_handle_cmd(struct nullb_cmd *cmd)
270270
end_cmd(cmd);
271271
break;
272272
case NULL_IRQ_SOFTIRQ:
273-
#if defined(CONFIG_SMP) && defined(CONFIG_USE_GENERIC_SMP_HELPERS)
273+
#ifdef CONFIG_SMP
274274
null_cmd_end_ipi(cmd);
275275
#else
276276
end_cmd(cmd);
@@ -571,7 +571,7 @@ static int __init null_init(void)
571571
{
572572
unsigned int i;
573573

574-
#if !defined(CONFIG_SMP) || !defined(CONFIG_USE_GENERIC_SMP_HELPERS)
574+
#if !defined(CONFIG_SMP)
575575
if (irqmode == NULL_IRQ_SOFTIRQ) {
576576
pr_warn("null_blk: softirq completions not available.\n");
577577
pr_warn("null_blk: using direct completions.\n");

net/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ source "net/hsr/Kconfig"
224224

225225
config RPS
226226
boolean
227-
depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS
227+
depends on SMP && SYSFS
228228
default y
229229

230230
config RFS_ACCEL
@@ -235,7 +235,7 @@ config RFS_ACCEL
235235

236236
config XPS
237237
boolean
238-
depends on SMP && USE_GENERIC_SMP_HELPERS
238+
depends on SMP
239239
default y
240240

241241
config NETPRIO_CGROUP

0 commit comments

Comments
 (0)