1. 12 5月, 2009 9 次提交
  2. 11 5月, 2009 1 次提交
  3. 10 5月, 2009 1 次提交
    • P
      sh: Fix up R0 dependence in __arch_swab16/32. · 567bb8fd
      Paul Mundt 提交于
      There is nothing in these routines that inherently depends on R0 use.
      Given that these routines are inlined, it is rather easy to blow up the
      compiler by exhausting the spill class when performing a 64-bit swab.
      
      This presently manifests itself as the following:
      
      CC      fs/ocfs2/suballoc.o
      fs/ocfs2/suballoc.c: In function 'ocfs2_reserve_suballoc_bits':
      fs/ocfs2/suballoc.c:638: error: unrecognizable insn:
      (insn 2793 1230 1231 103 arch/sh/include/asm/swab.h:33 (set (reg:HI 853)
              (subreg:HI (reg:SI 149 macl) 2)) -1 (expr_list:REG_DEAD (reg:SI 149 macl)
              (nil)))
      fs/ocfs2/suballoc.c:638: internal compiler error: in extract_insn, at recog.c:1991
      
      This patch switches over to using an arbitrarily assigned register instead.
      
      While the same issue does not exist in the SH-5 case, there is likewise no harm
      in having an alternate register used for the byterev/shari pair.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      567bb8fd
  4. 09 5月, 2009 2 次提交
  5. 08 5月, 2009 4 次提交
  6. 07 5月, 2009 3 次提交
  7. 03 5月, 2009 3 次提交
  8. 30 4月, 2009 2 次提交
    • M
      sh: remove old CMT driver · f425752f
      Magnus Damm 提交于
      This patch removes the old CMT driver (CONFIG_SH_CMT/timer-cmt.c)
      
      As replacement, select the sh_cmt driver with CONFIG_SH_TIMER_CMT
      and configure timer channel using platform data.
      
      If multiple CMT channels are enabled using platform data, use the
      earlytimer parameter on the kernel command line to select channel.
      For instance, use "earlytimer=sh_cmt.0" to select the first channel.
      
      To verify which timer is being used, look at printouts or the timer
      irq count in /proc/interrupts.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f425752f
    • M
      sh: pass through ioremap() for non-mmu processors. · e6be3a25
      Magnus Damm 提交于
      All 32-bit SuperH processors currently go through __ioremap_mode()
      and check for IO_TRAPPED and directly mapped segments. With this
      patch we simplify the MMU less case with a pass through version of
       __ioremap_mode() which just returns the physical address.
      
      The effects of this is change are:
       - fix non-MMU ioremap() of high address hardware blocks (sh7203 CMT)
       - make sure IO_TRAPPED is not selected
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e6be3a25
  9. 27 4月, 2009 2 次提交
  10. 24 4月, 2009 1 次提交
  11. 20 4月, 2009 11 次提交
  12. 19 4月, 2009 1 次提交