Since the kernel now has a COMPAT_SYSCALL infrastructure via commit 468366138850 ("COMPAT_SYSCALL_DEFINE: infrastructure"), add the corresponding regex for generating compat_sys_* symbols in the tags files (similar to sys_*).
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -168,6 +168,7 @@ exuberant() · 167 unmodified lines | ||
| 168 | 168 | --extra=+f --c-kinds=+px \ |
| 169 | 169 | --regex-asm='/^(ENTRY|_GLOBAL)\(([^)]*)\).*/\2/' \ |
| 170 | 170 | --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \ |
| 171 | + --regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \ | |
| 171 | 172 | --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \ |
| 172 | 173 | --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \ |
| 173 | 174 | --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \ |
| @@ -231,6 +232,7 @@ emacs() · 57 unmodified lines | ||
| 231 | 232 | all_target_sources | xargs $1 -a \ |
| 232 | 233 | --regex='/^\(ENTRY\|_GLOBAL\)(\([^)]*\)).*/\2/' \ |
| 233 | 234 | --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \ |
| 235 | + --regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \ | |
| 234 | 236 | --regex='/^TRACE_EVENT(\([^,)]*\).*/trace_\1/' \ |
| 235 | 237 | --regex='/^DEFINE_EVENT([^,)]*, *\([^,)]*\).*/trace_\1/' \ |
| 236 | 238 | --regex='/PAGEFLAG(\([^,)]*\).*/Page\1/' \ |