Skip to contentSkip to conversation

locking/lockdep: Remove lockdep_init_map_crosslock.

PATCH Applied Sebastian Andrzej Siewior 3 participants 4 messages Mar 11, 2022 – Feb 6, 2023 Locking primitives

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 locking/lockdep: Remove lockdep_init_map_crosslock.

The cross-release bits have been removed, lockdep_init_map_crosslock() is a leftover.

Remove lockdep_init_map_crosslock.

---
 include/linux/lockdep.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/lockdep.h +0 -1
index 467b94257105e..3d948f001f182 100644
@@ -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.
Signature · 1 line
2.35.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Sebastian Andrzej Siewior

The cross-release bits have been removed, lockdep_init_map_crosslock() is a leftover.

Remove lockdep_init_map_crosslock.

---
  include/linux/lockdep.h | 1 -
  1 file changed, 1 deletion(-)
include/linux/lockdep.h +0 -0
index 467b94257105e..3d948f001f182 100644

include/linux/lockdep.h enum xhlock_context_t { · line 436

Quoted 7 lines
include/linux/lockdep.h +0 -1
@@ -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

#3 lore raw
In reply to Sebastian Andrzej Siewior
The following commit has been merged into the locking/core branch of tip:

The following commit has been merged into the locking/core branch of tip:

Commit-ID:     2edcedcd1dcb542cb09acabda1732de47dd82e68
Gitweb:        https://git.kernel.org/tip/2edcedcd1dcb542cb09acabda1732de47dd82e68
Author:        Sebastian Andrzej Siewior <[email protected]>
AuthorDate:    Thu, 09 Jun 2022 17:36:33 +02:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Mon, 06 Feb 2023 15:31:05 +01:00

locking/lockdep: Remove lockdep_init_map_crosslock.

The cross-release bits have been removed, lockdep_init_map_crosslock() is a leftover.

Remove lockdep_init_map_crosslock.

---
 include/linux/lockdep.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/lockdep.h +0 -1
index 1f1099d..1023f34 100644
@@ -435,7 +435,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.