scripts/tags.sh: Don't tag usages of DEFINE_...PERCPU_RWSEM
PATCH RESEND 1/1 scripts/tags.sh: Don't tag usages of DEFINE_...PERCPU_RWSEM
For each semaphore declaration likeDEFINE_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 <[email protected]>
--- scripts/tags.sh | 1 + 1 file changed, 1 insertion(+)
scripts/tags.sh +1 -0
@@ -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
Signature · 1 line
2.48.1