1. 17 3月, 2011 10 次提交
  2. 15 3月, 2011 16 次提交
  3. 23 2月, 2011 1 次提交
  4. 16 2月, 2011 2 次提交
    • G
      m68knommu: add optimize memmove() function · 982cd252
      Greg Ungerer 提交于
      Add an m68k/coldfire optimized memmove() function for the m68knommu arch.
      This is the same function as used by m68k. Simple speed tests show this
      is faster once buffers are larger than 4 bytes, and significantly faster
      on much larger buffers (4 times faster above about 100 bytes).
      
      This also goes part of the way to fixing a regression caused by commit
      ea61bc46 ("m68k/m68knommu: merge MMU and
      non-MMU string.h"), which breaks non-coldfire non-mmu builds (which is
      the 68x328 and 68360 families). They currently have no memmove() fucntion
      defined, since there was none in the m68knommu/lib functions.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      982cd252
    • G
      m68k: remove arch specific non-optimized memcmp() · f9d693d2
      Greg Ungerer 提交于
      The m68k arch implements its own memcmp() function. It is not optimized
      in any way (it is the most strait forward coding of memcmp you can get).
      Remove it and use the kernels standard memcmp() implementation.
      
      This also goes part of the way to fixing a regression caused by commit
      ea61bc46 ("m68k/m68knommu: merge MMU and
      non-MMU string.h"), which breaks non-coldfire non-mmu builds (which is
      the 68x328 and 68360 families). They currently have no memcmp() function
      defined, since there is none in the m68knommu/lib functions.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      f9d693d2
  5. 31 1月, 2011 1 次提交
    • T
      m68k: Switch do_timer() to xtime_update() · e53f276b
      Torben Hohn 提交于
      xtime_update() properly takes the xtime_lock
      Signed-off-by: NTorben Hohn <torbenh@gmx.de>
      Cc: Sam Creasey <sammy@sammy.net>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: johnstul@us.ibm.com
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: hch@infradead.org
      Cc: yong.zhang0@gmail.com
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Greg Ungerer <gerg@uclinux.org>
      LKML-Reference: <20110127150006.23248.71790.stgit@localhost>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      e53f276b
  6. 23 1月, 2011 3 次提交
    • G
      m68k/amiga: Fix "debug=mem" · 5df1abdb
      Geert Uytterhoeven 提交于
      `debug=mem' on Amiga has been broken for a while.
      early_param() processing is done very/too early, i.e. before
      amiga_identify() / amiga_chip_init(), causing amiga_savekmsg_setup() not
      to find any Chip RAM.
      
      As we don't plan to free this memory anyway, just steal it from the initial
      Chip RAM memory block instead.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      5df1abdb
    • G
      m68k/atari: Rename "scc" to "atari_scc" · de339e4b
      Geert Uytterhoeven 提交于
      It's a way too generic name for a global #define and conflicts with a variable
      with the same name, causing build errors like:
      
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c: In function ‘_si_clkctl_cc’:
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1364: error: expected identifier or ‘(’ before ‘volatile’
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1364: error: expected ‘)’ before ‘(’ token
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1421: error: incompatible types in assignment
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1422: error: invalid operands to binary &
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1423: error: invalid operands to binary &
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1424: error: invalid operands to binary |
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: aggregate value used where an integer was expected
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1425: error: incompatible type for argument 4 of ‘bcmsdh_reg_write’
      | drivers/staging/brcm80211/brcmfmac/../util/siutils.c:1428: error: invalid operands to binary &
      | make[8]: *** [drivers/staging/brcm80211/brcmfmac/../util/siutils.o] Error 1
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      de339e4b
    • G
      m68k: Uninline strchr() · f9b07897
      Geert Uytterhoeven 提交于
      Some versions of gcc replace calls to strstr() with single-character
      "needle" string parameters by calls to strchr() behind our back.
      
      If strchr() is defined as an inline function, this causes linking errors
      like
      
      	ERROR: "strchr" [drivers/target/target_core_mod.ko] undefined!
      
      As m68k is the only architecture that has an inline strchr() and this
      inline version is not an optimized asm version, uninline strchr() and use
      the standard out-of-line C version in lib/string.c instead.
      
      This also decreases the defconfig/allmodconfig kernel image sizes by a few
      hundred bytes.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      f9b07897
  7. 12 1月, 2011 1 次提交
  8. 07 1月, 2011 6 次提交