File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ static void null_softirq_done_fn(struct request *rq)
223
223
blk_end_request_all (rq , 0 );
224
224
}
225
225
226
- #if defined( CONFIG_SMP ) && defined( CONFIG_USE_GENERIC_SMP_HELPERS )
226
+ #ifdef CONFIG_SMP
227
227
228
228
static void null_ipi_cmd_end_io (void * data )
229
229
{
@@ -260,7 +260,7 @@ static void null_cmd_end_ipi(struct nullb_cmd *cmd)
260
260
put_cpu ();
261
261
}
262
262
263
- #endif /* CONFIG_SMP && CONFIG_USE_GENERIC_SMP_HELPERS */
263
+ #endif /* CONFIG_SMP */
264
264
265
265
static inline void null_handle_cmd (struct nullb_cmd * cmd )
266
266
{
@@ -270,7 +270,7 @@ static inline void null_handle_cmd(struct nullb_cmd *cmd)
270
270
end_cmd (cmd );
271
271
break ;
272
272
case NULL_IRQ_SOFTIRQ :
273
- #if defined( CONFIG_SMP ) && defined( CONFIG_USE_GENERIC_SMP_HELPERS )
273
+ #ifdef CONFIG_SMP
274
274
null_cmd_end_ipi (cmd );
275
275
#else
276
276
end_cmd (cmd );
@@ -571,7 +571,7 @@ static int __init null_init(void)
571
571
{
572
572
unsigned int i ;
573
573
574
- #if !defined(CONFIG_SMP ) || !defined( CONFIG_USE_GENERIC_SMP_HELPERS )
574
+ #if !defined(CONFIG_SMP )
575
575
if (irqmode == NULL_IRQ_SOFTIRQ ) {
576
576
pr_warn ("null_blk: softirq completions not available.\n" );
577
577
pr_warn ("null_blk: using direct completions.\n" );
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ source "net/hsr/Kconfig"
224
224
225
225
config RPS
226
226
boolean
227
- depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS
227
+ depends on SMP && SYSFS
228
228
default y
229
229
230
230
config RFS_ACCEL
@@ -235,7 +235,7 @@ config RFS_ACCEL
235
235
236
236
config XPS
237
237
boolean
238
- depends on SMP && USE_GENERIC_SMP_HELPERS
238
+ depends on SMP
239
239
default y
240
240
241
241
config NETPRIO_CGROUP
You can’t perform that action at this time.
0 commit comments