1. 27 2月, 2009 1 次提交
    • M
      sh: shared register saving code for sh3/sh4/sh4a · 1d015cf0
      Magnus Damm 提交于
      This patch reworks the sh3/sh4/sh4a register saving code in
      the following ways:
       - break out prepare_stack_save_dsp() from handle_exception()
       - break out save_regs() from handle_exception()
       - the register saving order is unchanged
       - align new functions to fit in cache lines
       - separate exception code from interrupt code
       - keep main code flow in a single cache line per exception vector
       - use bsr/rts for regular functions (save pr first)
       - keep data in one shared cache line (exception_data)
       - document the functions
       - tie in the hp6xx code
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1d015cf0
  2. 29 1月, 2009 2 次提交
  3. 27 1月, 2009 2 次提交
    • P
      sh: mach-highlander and mach-rsk require gpiolib. · ae5e6d05
      Paul Mundt 提交于
      Fix up the build for mach-highlander and mach-rsk. These operated on the
      assumption that GENERIC_GPIO support with an optional GPIOLIB was
      possible. This used to be true, but has not been the case since commit-id
      d56cc8bc661ac1ceded8d45ba2d53bb134fee17d ("sh: use gpiolib"), where the
      GENERIC_GPIO implementation was rewritten to use GPIOLIB directly.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ae5e6d05
    • M
      sh: use gpiolib · 69edbba0
      Magnus Damm 提交于
      This patch updates the SuperH gpio code to make use of gpiolib. The
      gpiolib callbacks get() and set() are lockless, but we use our own
      spinlock for the other operations to make sure hardware register
      bitfield accesses stay atomic.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      69edbba0
  4. 21 1月, 2009 10 次提交
  5. 22 12月, 2008 25 次提交