1. 11 1月, 2011 1 次提交
  2. 06 1月, 2011 1 次提交
  3. 05 1月, 2011 1 次提交
  4. 24 12月, 2010 5 次提交
    • T
      sh: don't use flush_scheduled_work() · 539253f6
      Tejun Heo 提交于
      flush_scheduled_work() is deprecated and scheduled to be removed.
      Directly flush psw->work on removal instead.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: linux-sh@vger.kernel.org
      539253f6
    • P
      sh: Tidy up SH-4A unaligned load support. · 1dee92bb
      Paul Mundt 提交于
      The current implementation was rather tied to the packed_struct.h
      definitions, which immediately began to clash when the packed_struct.h
      types changed and drivers began to include packed_struct.h directly.
      
      In order to support this sort of use it's necessary to get out of the way
      with regards to namespace collisions, and at the same time we can also
      kill off some duplicate code now that the unaligned headers are a bit
      more broken out.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1dee92bb
    • P
      sh: Fix up SH7201 clkfwk build. · 27f1accc
      Paul Mundt 提交于
      The master clock initialization for SH7201 was wholly bogus. Users of the
      legacy API must initialize the clock rate through the struct clk itself
      rather than returning the clock frequency. Given that the init function
      itself is void, returning the frequency isn't terribly effective.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      27f1accc
    • P
      sh: mach-se: Fix up SE7206 build. · 27434f0a
      Paul Mundt 提交于
      With some recent tidying of duplicate register definitions the se7206 IRQ
      code broke:
      
      arch/sh/boards/mach-se/7206/irq.c: error: 'INTC_ICR' undeclared (first use in this function)
      arch/sh/boards/mach-se/7206/irq.c: error: (Each undeclared identifier is reported only once
      arch/sh/boards/mach-se/7206/irq.c: error: for each function it appears in.)
      
      Fix it up.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      27434f0a
    • P
      sh: Fix up SH4-202 clkfwk build. · 638fa4aa
      Paul Mundt 提交于
      Some of the SH4-202 code was overlooked in the set_rate() API conversion,
      resulting in:
      
      arch/sh/kernel/cpu/sh4/clock-sh4-202.c: error: too many arguments to function 'clk->ops->set_rate'
      
      Fix it up.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      638fa4aa
  5. 17 12月, 2010 2 次提交
  6. 16 12月, 2010 1 次提交
    • P
      perf: Dynamic pmu types · 2e80a82a
      Peter Zijlstra 提交于
      Extend the perf_pmu_register() interface to allow for named and
      dynamic pmu types.
      
      Because we need to support the existing static types we cannot use
      dynamic types for everything, hence provide a type argument.
      
      If we want to enumerate the PMUs they need a name, provide one.
      Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
      LKML-Reference: <20101117222056.259707703@chello.nl>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      2e80a82a
  7. 14 12月, 2010 1 次提交
  8. 13 12月, 2010 2 次提交
  9. 03 12月, 2010 2 次提交
  10. 01 12月, 2010 2 次提交
  11. 29 11月, 2010 3 次提交
  12. 26 11月, 2010 2 次提交
  13. 18 11月, 2010 1 次提交
    • G
      sh: Use GCC __builtin_prefetch() to implement prefetch(). · d53e4307
      Giuseppe CAVALLARO 提交于
      GCC's __builtin_prefetch() was introduced a long time ago, all
      supported GCC versions have it. So this patch is to use it for
      implementing the prefetch on SH2A and SH4.
      
      The current  prefetch implementation is almost equivalent with
      __builtin_prefetch.
      The third parameter in the __builtin_prefetch is the locality
      that it's not supported on SH architectures.  It has been set
      to three and it should be verified if it's suitable for SH2A
      as well. I didn't test on this architecture.
      
      The builtin usage should be more efficient that an __asm__
      because less barriers, and because the compiler doesn't see the
      inst as a "black box" allowing better code generation.
      
      This has been already done on other architectures (see the commit:
      0453fb3c).
      
      Many thanks to Christian Bruel <christain.bruel@st.com> for his
      support on evaluate the impact of the gcc built-in on SH4 arch.
      
      No regressions found while testing with LMbench on STLinux targets.
      Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      d53e4307
  14. 17 11月, 2010 2 次提交
  15. 15 11月, 2010 1 次提交
  16. 09 11月, 2010 3 次提交
  17. 08 11月, 2010 1 次提交
  18. 04 11月, 2010 4 次提交
  19. 02 11月, 2010 1 次提交
  20. 01 11月, 2010 1 次提交
    • P
      sh: machvec IO death. · 37b7a978
      Paul Mundt 提交于
      This takes a bit of a sledgehammer to the machvec I/O routines. The
      iomem case requires no special casing and so can just be dropped
      outright. This only leaves the ioport casing for PCI and SuperIO
      mangling. With the SuperIO case going through the standard ioport
      mapping, it's possible to replace everything with generic routines.
      
      With this done the standard I/O routines are tidied up and NO_IOPORT
      now gets default-enabled for the vast majority of boards.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      37b7a978
  21. 29 10月, 2010 3 次提交