Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING

From: Peter Zijlstra
Date: Thu Mar 29 2018 - 03:16:43 EST


On Thu, Mar 29, 2018 at 04:27:05AM +0200, Frederic Weisbecker wrote:
> The last user of __ARCH_SET_SOFTIRQ_PENDING has been converted to generic
> per-cpu softirq mask. We can now remove this conditional.

This seems like half a cleanup; who still has local_softirq_pending()
after this?

>
> #else /* local_softirq_pending */
>
> -#ifndef __ARCH_SET_SOFTIRQ_PENDING
> #define set_softirq_pending(x) (local_softirq_pending() = (x))
> #define or_softirq_pending(x) (local_softirq_pending() |= (x))
> -#endif
>
> #endif /* local_softirq_pending */