Skip to content
Snippets Groups Projects
  1. Aug 20, 2014
  2. Jan 08, 2014
  3. Mar 24, 2012
  4. Jun 16, 2011
  5. Sep 24, 2010
    • Ingo Molnar's avatar
      jump label: Fix GCC feature check when distcc is used · d6dad199
      Ingo Molnar authored
      
      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 <jbaron@redhat.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      LKML-Reference: <20100923034910.867858597@goodmis.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      d6dad199
  6. Sep 22, 2010
    • Jason Baron's avatar
      jump label: Base patch for jump label · bf5438fc
      Jason Baron authored
      
      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: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarJason Baron <jbaron@redhat.com>
      LKML-Reference: <ee8b3595967989fdaf84e698dc7447d315ce972a.1284733808.git.jbaron@redhat.com>
      
      [ cleaned up some formating ]
      
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      bf5438fc
Loading