08 Jan, 2014

1 commit

  • As commit a9468f30b5eac6 "ARM: 7333/2: jump label: detect %c
    support for ARM", this patch detects the same thing for ARM64
    because some ARM64 GCC versions have the same issue.

    Some versions of ARM64 GCC which do support asm goto, do not
    support the %c specifier. Since we need the %c to support jump
    labels on ARM64, detect that too in the asm goto detection script
    to avoid build errors with these versions.

    Acked-by: Will Deacon
    Signed-off-by: Jiang Liu
    Signed-off-by: Catalin Marinas

    Jiang Liu
     

24 Mar, 2012

1 commit

  • Some versions of ARM GCC which do support asm goto, do not support
    the %c specifier. Since we need the %c to support jump labels
    on ARM, detect that too in the asm goto detection script to avoid
    build errors with these versions.

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637

    Acked-by: Jason Baron
    Signed-off-by: Rabin Vincent
    Signed-off-by: Russell King

    Rabin Vincent
     

16 Jun, 2011

1 commit


24 Sep, 2010

1 commit

  • The following build bug occurs on distcc builds:

    CC arch/x86/kernel/asm-offsets.s
    In file included from include/linux/module.h:24,
    from include/linux/crypto.h:22,
    from arch/x86/kernel/asm-offsets_64.c:9,
    from arch/x86/kernel/asm-offsets.c:5:
    include/trace/events/module.h: In function 'trace_module_load':
    include/trace/events/module.h:18: error: expected '(' before 'goto'
    include/trace/events/module.h:18: error: expected identifier or '*' before '(' token

    It triggers because distcc is invoked by turning $CC into "distcc gcc",
    but gcc-goto.sh check script was using $1 not $@ to expand parameters.

    Cc: Jason Baron
    Cc: Steven Rostedt
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     

23 Sep, 2010

1 commit

  • base patch to implement 'jump labeling'. Based on a new 'asm goto' inline
    assembly gcc mechanism, we can now branch to labels from an 'asm goto'
    statment. This allows us to create a 'no-op' fastpath, which can subsequently
    be patched with a jump to the slowpath code. This is useful for code which
    might be rarely used, but which we'd like to be able to call, if needed.
    Tracepoints are the current usecase that these are being implemented for.

    Acked-by: David S. Miller
    Signed-off-by: Jason Baron
    LKML-Reference:

    [ cleaned up some formating ]

    Signed-off-by: Steven Rostedt

    Jason Baron