1. 25 Mar, 2018 1 commit
    • Nicholas Piggin's avatar
      kbuild: rename built-in.o to built-in.a · f49821ee
      Nicholas Piggin authored
      Incremental linking is gone, so rename built-in.o to built-in.a, which
      is the usual extension for archive files.
      This patch does two things, first is a simple search/replace:
      git grep -l 'built-in\.o' | xargs sed -i 's/built-in\.o/built-in\.a/g'
      The second is to invert nesting of nested text manipulations to avoid
      filtering built-in.a out from libs-y2:
      -libs-y2 := $(filter-out %.a, $(patsubst %/, %/built-in.a, $(libs-y)))
      +libs-y2 := $(patsubst %/, %/built-in.a, $(filter-out %.a, $(libs-y)))
      Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
  2. 16 Jun, 2016 1 commit
    • Peter Zijlstra's avatar
      locking/atomic, arch/blackfin: Implement atomic_fetch_{add,sub,and,or,xor}() · e87fc0ec
      Peter Zijlstra authored
      Implement FETCH-OP atomic primitives, these are very similar to the
      existing OP-RETURN primitives we already have, except they return the
      value of the atomic variable _before_ modification.
      This is especially useful for irreversible operations -- such as
      bitops (because it becomes impossible to reconstruct the state prior
      to modification).
      Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Steven Miao <realmz6@gmail.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: adi-buildroot-devel@lists.sourceforge.net
      Cc: linux-arch@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
  3. 27 Jul, 2015 1 commit
  4. 25 May, 2011 1 commit
  5. 22 May, 2010 1 commit
    • Robin Getz's avatar
      Blackfin: move string functions to normal lib/ assembly · 479ba603
      Robin Getz authored
      Since 'extern inline' doesn't work correctly in the context of the Linux
      kernel (too many overriding defines), move the string functions to normal
      lib/ assembly files (like the existing mem funcs).  This avoids the forced
      inline all over the kernel and allows us to place them constantly in L1.
      This also avoids some module failures when gcc inserts calls to string
      functions but the kernel build system doesn't fully consult the library
      Signed-off-by: default avatarRobin Getz <robin.getz@analog.com>
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
  6. 19 Jun, 2009 1 commit
  7. 13 Jun, 2009 1 commit
  8. 12 Jun, 2009 1 commit
  9. 07 Jan, 2009 1 commit
  10. 18 Nov, 2008 1 commit
  11. 28 Oct, 2008 2 commits
  12. 17 May, 2008 1 commit
  13. 17 Apr, 2008 1 commit
  14. 21 Nov, 2007 2 commits
  15. 17 Nov, 2007 3 commits
    • Michael Hennerich's avatar
      Blackfin arch: Add assembly function insl_16 · 5c91fb90
      Michael Hennerich authored
       * CPUs often take a performance hit when accessing unaligned memory
       * locations. The actual performance hit varies, it can be small if the
       * hardware handles it or large if we have to take an exception and fix
       * it
       * in software.
       * Since an ethernet header is 14 bytes network drivers often end up
       * with
       * the IP header at an unaligned offset. The IP header can be aligned by
       * shifting the start of the packet by 2 bytes. Drivers should do this
       * with:
       * skb_reserve(NET_IP_ALIGN);
       * The downside to this alignment of the IP header is that the DMA is
       * now
       * unaligned. On some architectures the cost of an unaligned DMA is high
       * and this cost outweighs the gains made by aligning the IP header.
       * Since this trade off varies between architectures, we allow
       * NET_IP_ALIGN
       * to be overridden.
      This new function insl_16 allows to read form 32-bit IO and writes to
      16-bit aligned memory. This is useful in above described scenario -
      In particular with the AXIS AX88180 Gigabit Ethernet MAC.
      Once the device is in 32-bit mode, reads from the RX FIFO always
      decrements 4bytes.
      While on the other side the destination address in SDRAM is always
      16-bit aligned.
      If we use skb_reserve(0) the receive buffer is 32-bit aligned but later
      we hit a unaligned exception in the IP code.
      Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
      Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
    • Adrian Bunk's avatar
      Blackfin arch: unexport get_wchan · 8d2e24c3
      Adrian Bunk authored
      The only user of get_wchan I was able to find is the proc fs - and proc
      can't be built modular.
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
    • Adrian Bunk's avatar
      Blackfin arch: remove dump_thread() · 05c48435
      Adrian Bunk authored
      The only user is the a.out support.
      It was therefore removed prior to the blackfin merge from all
      architectures not supporting a.out.
      Currently, Blackfin doesn't suppport a.out.
      Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
      Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
  16. 10 Oct, 2007 1 commit
  17. 12 Jul, 2007 1 commit
  18. 07 May, 2007 1 commit