From: Linus Torvalds Date: Wed, 20 Jan 2016 18:10:23 +0000 (-0800) Subject: Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild X-Git-Tag: v4.14-rc1~3971 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90bf353bc1451b71067b12541db08ab7774723eb;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'misc' of git://git./linux/kernel/git/mmarek/kbuild Pull misc kbuild updates from Michal Marek: - Fix for make O=... perf-tar* - make tags revamp and fix for the fallout. Patch for warnings about line breaks inside DEFINE_PER_CPU macros is pending - New coccinelle test * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: coccinelle: tests: unsigned value cannot be lesser than zero tags: Unify emacs and exuberant rules tags: Drop the _PE rule tags: Do not try to index defconfigs tags: Process Kconfig files in a single pass tags: Fix erroneous pattern match in a comment aic7xxx: Avoid name collision with tags: Treat header files as C code package Makefile: fix perf-tar targets when outdir is set scripts/tags.sh: Teach tags about more powerpc macros --- 90bf353bc1451b71067b12541db08ab7774723eb diff --cc scripts/tags.sh index 76f131e,bcc1d8c..23ba1c6 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@@ -150,8 -145,108 +145,107 @@@ dogtags( all_target_sources | gtags -i -f - } + # Basic regular expressions with an optional /kind-spec/ for ctags and + # the following limitations: + # - No regex modifiers + # - Use \{0,1\} instead of \?, because etags expects an unescaped ? + # - \s is not working with etags, use a space or [ \t] + # - \w works, but does not match underscores in etags + # - etags regular expressions have to match at the start of a line; + # a ^[^#] is prepended by setup_regex unless an anchor is already present + regex_asm=( + '/^\(ENTRY\|_GLOBAL\)(\([[:alnum:]_\\]*\)).*/\2/' + ) + regex_c=( + '/^SYSCALL_DEFINE[0-9](\([[:alnum:]_]*\).*/sys_\1/' + '/^COMPAT_SYSCALL_DEFINE[0-9](\([[:alnum:]_]*\).*/compat_sys_\1/' + '/^TRACE_EVENT(\([[:alnum:]_]*\).*/trace_\1/' + '/^TRACE_EVENT(\([[:alnum:]_]*\).*/trace_\1_rcuidle/' + '/^DEFINE_EVENT([^,)]*, *\([[:alnum:]_]*\).*/trace_\1/' + '/^DEFINE_EVENT([^,)]*, *\([[:alnum:]_]*\).*/trace_\1_rcuidle/' + '/^PAGEFLAG(\([[:alnum:]_]*\).*/Page\1/' + '/^PAGEFLAG(\([[:alnum:]_]*\).*/SetPage\1/' + '/^PAGEFLAG(\([[:alnum:]_]*\).*/ClearPage\1/' + '/^TESTSETFLAG(\([[:alnum:]_]*\).*/TestSetPage\1/' + '/^TESTPAGEFLAG(\([[:alnum:]_]*\).*/Page\1/' + '/^SETPAGEFLAG(\([[:alnum:]_]*\).*/SetPage\1/' + '/\<__SETPAGEFLAG(\([[:alnum:]_]*\).*/__SetPage\1/' + '/\