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)
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
228228static 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
265265static 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" );
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ source "net/hsr/Kconfig"
224224
225225config RPS
226226 boolean
227- depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS
227+ depends on SMP && SYSFS
228228 default y
229229
230230config RFS_ACCEL
@@ -235,7 +235,7 @@ config RFS_ACCEL
235235
236236config XPS
237237 boolean
238- depends on SMP && USE_GENERIC_SMP_HELPERS
238+ depends on SMP
239239 default y
240240
241241config NETPRIO_CGROUP
You can’t perform that action at this time.
0 commit comments