* [PATCH RESEND v1] scripts/tags.sh: Don't tag usages of DEFINE_...PERCPU_RWSEM
@ 2025-04-28 5:38 Costa Shulyupin
0 siblings, 0 replies; only message in thread
From: Costa Shulyupin @ 2025-04-28 5:38 UTC (permalink / raw)
To: Costa Shulyupin, Greg Kroah-Hartman, Peter Zijlstra,
Steven Rostedt, linux-kernel
For each semaphore declaration like
DEFINE_PERCPU_RWSEM(x)
DEFINE_STATIC_PERCPU_RWSEM(x)
ctags generates multiple DEFINE_PERCPU_RWSEM and
DEFINE_STATIC_PERCPU_RWSEM tags for each usage because it doesn't expand
these macros.
Configure ctags to skip generating tags for DEFINE_PERCPU_RWSEM and
DEFINE_STATIC_PERCPU_RWSEM in such cases.
The #define DEFINE_... itself and definitions of semaphores are
tagged correctly.
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
---
scripts/tags.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 98680e9cd7be3..503371e59e366 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -271,6 +271,7 @@ exuberant()
ACPI_EXPORT_SYMBOL
DECLARE_BITMAP
DEFINE_{TRACE,MUTEX,TIMER}
+ DEFINE_{,STATIC_}PERCPU_RWSEM
EXPORT_SYMBOL EXPORT_SYMBOL_GPL
EXPORT_TRACEPOINT_SYMBOL EXPORT_TRACEPOINT_SYMBOL_GPL
____cacheline_aligned ____cacheline_aligned_in_smp
--
2.48.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-28 5:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-28 5:38 [PATCH RESEND v1] scripts/tags.sh: Don't tag usages of DEFINE_...PERCPU_RWSEM Costa Shulyupin
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®