mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Waiman Long <longman@redhat.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	linux-kernel@vger.kernel.org
Cc: Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>, Will Deacon <will@kernel.org>,
	Boqun Feng <boqun.feng@gmail.com>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] locking/lockdep: Remove lockdep_init_map_crosslock.
Date: Tue, 15 Mar 2022 10:56:51 -0400	[thread overview]
Message-ID: <5a8ffc81-b7dc-7bbe-e925-7d1c39fd2d69@redhat.com> (raw)
In-Reply-To: <20220311164457.46461-1-bigeasy@linutronix.de>

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@linutronix.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@redhat.com>


  reply	other threads:[~2022-03-15 14:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-11 16:44 Sebastian Andrzej Siewior
2022-03-15 14:56 ` Waiman Long [this message]
2022-05-04 16:15 ` Sebastian Andrzej Siewior
2023-02-06 14:34 ` [tip: locking/core] " tip-bot2 for Sebastian Andrzej Siewior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a8ffc81-b7dc-7bbe-e925-7d1c39fd2d69@redhat.com \
    --to=longman@redhat.com \
    --cc=bigeasy@linutronix.de \
    --cc=boqun.feng@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®