Skip to content

Commit c965526

Browse files
ctmarinastorvalds
authored andcommitted
scripts/tags.sh: include compat_sys_* symbols in the generated tags
Since the kernel now has a COMPAT_SYSCALL infrastructure via commit 4683661 ("COMPAT_SYSCALL_DEFINE: infrastructure"), add the corresponding regex for generating compat_sys_* symbols in the tags files (similar to sys_*). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 45715f3 commit c965526

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎scripts/tags.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ exuberant()
168168
--extra=+f --c-kinds=+px \
169169
--regex-asm='/^(ENTRY|_GLOBAL)\(([^)]*)\).*/\2/' \
170170
--regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
171+
--regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \
171172
--regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \
172173
--regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \
173174
--regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \
@@ -231,6 +232,7 @@ emacs()
231232
all_target_sources | xargs $1 -a \
232233
--regex='/^\(ENTRY\|_GLOBAL\)(\([^)]*\)).*/\2/' \
233234
--regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \
235+
--regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \
234236
--regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \
235237
--regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \
236238
--regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \

0 commit comments

Comments
 (0)