1. 14 6月, 2009 1 次提交
    • M
      sh: Make the atomic functions safe for irqsoff tracing · 0c50f6f3
      Matt Fleming 提交于
      The irqsoff tracer uses the atomic_* functions internally, but the
      implementations of those functions in arch/sh/include/asm/atomic-irq.h
      disable irqs to achieve atomicity. A continuous loop ensues where we
      disable interrupts, trace the interrupt disabling, call atomic_*
      functions, disable interrupts, trace the interrupt disabling, etc..
      
      The simplest solution to all this is to just convert uses of
      local_irq_save()/local_irq_restore() the raw_* equivalents because the
      raw_* equivalents don't call trace_hardirqs_on()/trace_hardirqs_off().
      Signed-off-by: NMatt Fleming <matt@console-pimps.org>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0c50f6f3
  2. 29 1月, 2009 1 次提交
  3. 29 7月, 2008 1 次提交
  4. 12 12月, 2006 1 次提交