On Wed, May 27, 2020 at 05:45:29PM +0200, Peter Zijlstra wrote:
> -do {                                         \
> -     if (!current->hardirq_context++)        \
> -             current->hardirq_threaded = 0;  \
> +# define lockdep_hardirq_enter()                     \
> +do {                                                 \
> +     if (!this_cpu_inc_return(hardirq_context))      \

        this_cpu_inc_return(hardirq_context) == 1

or this_cpu_fetch_inc(), which we don't have.

> +             current->hardirq_threaded = 0;          \

Reply via email to