[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5a8ffc81-b7dc-7bbe-e925-7d1c39fd2d69@redhat.com>
Date: Tue, 15 Mar 2022 10:56:51 -0400
From: Waiman Long <longman@...hat.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
linux-kernel@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>, Will Deacon <will@...nel.org>,
Boqun Feng <boqun.feng@...il.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] locking/lockdep: Remove lockdep_init_map_crosslock.
On 3/11/22 11:44, Sebastian Andrzej Siewior wrote:
> The cross-release bits have been removed, lockdep_init_map_crosslock() is
> a leftover.
>
> Remove lockdep_init_map_crosslock.
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> ---
> include/linux/lockdep.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h
> index 467b94257105e..3d948f001f182 100644
> --- a/include/linux/lockdep.h
> +++ b/include/linux/lockdep.h
> @@ -431,7 +431,6 @@ enum xhlock_context_t {
> XHLOCK_CTX_NR,
> };
>
> -#define lockdep_init_map_crosslock(m, n, k, s) do {} while (0)
> /*
> * To initialize a lockdep_map statically use this macro.
> * Note that _name must not be NULL.
LGTM
Reviewed-by: Waiman Long <longman@...hat.com>
Powered by blists - more mailing lists