lkml.org 
[lkml]   [2010]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 12/14] tags: recognize compat syscalls
    make tags.sh recognize the new syscall macros:

    COMPAT_SYSCALL_DEFINE#N()
    ARCH_COMPAT_SYSCALL_DEFINE#N()

    Signed-off-by: Jason Baron <jbaron@redhat.com>
    ---
    scripts/tags.sh | 8 ++++++--
    1 files changed, 6 insertions(+), 2 deletions(-)

    diff --git a/scripts/tags.sh b/scripts/tags.sh
    index 1a0c44d..fe5d4a3 100755
    --- a/scripts/tags.sh
    +++ b/scripts/tags.sh
    @@ -110,7 +110,9 @@ exuberant()
    -I DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL \
    --extra=+f --c-kinds=-px \
    --regex-asm='/^ENTRY\(([^)]*)\).*/\1/' \
    - --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/'
    + --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
    + --regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \
    + --regex-c='/^ARCH_COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys32_\1/'

    all_kconfigs | xargs $1 -a \
    --langdef=kconfig --language-force=kconfig \
    @@ -130,7 +132,9 @@ emacs()
    {
    all_sources | xargs $1 -a \
    --regex='/^ENTRY(\([^)]*\)).*/\1/' \
    - --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/'
    + --regex='/^SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys_\1/' \
    + --regex='/^COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/compat_sys_\1/' \
    + --regex='/^ARCH_COMPAT_SYSCALL_DEFINE[0-9]?(\([^,)]*\).*/sys32_\1/'

    all_kconfigs | xargs $1 -a \
    --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/'

    \
     
     \ /
      Last update: 2010-03-16 18:49    [W:0.038 / U:0.272 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site