1. 18 4月, 2014 1 次提交
  2. 27 7月, 2012 1 次提交
    • T
      [IA64] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts · a1193655
      Tony Luck 提交于
      The following build error occured during a ia64 build with
      swap-over-NFS patches applied.
      
      net/core/sock.c:274:36: error: initializer element is not constant
      net/core/sock.c:274:36: error: (near initialization for 'memalloc_socks')
      net/core/sock.c:274:36: error: initializer element is not constant
      
      This is identical to a parisc build error. Fengguang Wu, Mel Gorman
      and James Bottomley did all the legwork to track the root cause of
      the problem. This fix and entire commit log is shamelessly copied
      from them with one extra detail to change a dubious runtime use of
      ATOMIC_INIT() to atomic_set() in drivers/char/mspec.c
      
      Dave Anglin says:
      > Here is the line in sock.i:
      >
      > struct static_key memalloc_socks = ((struct static_key) { .enabled =
      > ((atomic_t) { (0) }) });
      
      The above line contains two compound literals.  It also uses a designated
      initializer to initialize the field enabled.  A compound literal is not a
      constant expression.
      
      The location of the above statement isn't fully clear, but if a compound
      literal occurs outside the body of a function, the initializer list must
      consist of constant expressions.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      a1193655
  3. 29 3月, 2012 1 次提交
  4. 27 7月, 2011 3 次提交
  5. 14 8月, 2010 1 次提交
    • T
      [IA64] Fix 64-bit atomic routines to return "long" · 01d69a82
      Tony Luck 提交于
      These have been broken (returning "int") since the dawn of
      time. But there were no users that needed the whole value
      until commit
       424acaae
       rwsem: wake queued readers when writer blocks on active read lock
      
      made this change:
      
      -           (rwsem_atomic_update(0, sem) & RWSEM_ACTIVE_MASK))
      -               /* Someone grabbed the sem already */
      +           rwsem_atomic_update(0, sem) < RWSEM_WAITING_BIAS)
      +               /* Someone grabbed the sem for write already */
      
      RWSEM_ACTIVE_MASK is 0xffffffffL, so the old code only looked
      at the low order 32-bits. The new code needs to see all 64 bits.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      01d69a82
  6. 17 5月, 2010 1 次提交
  7. 12 6月, 2009 1 次提交
  8. 07 1月, 2009 1 次提交
  9. 02 8月, 2008 1 次提交
    • T
      [IA64] Move include/asm-ia64 to arch/ia64/include/asm · 7f30491c
      Tony Luck 提交于
      After moving the the include files there were a few clean-ups:
      
      1) Some files used #include <asm-ia64/xyz.h>, changed to <asm/xyz.h>
      
      2) Some comments alerted maintainers to look at various header files to
      make matching updates if certain code were to be changed. Updated these
      comments to use the new include paths.
      
      3) Some header files mentioned their own names in initial comments. Just
      deleted these self references.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      7f30491c
  10. 14 8月, 2007 1 次提交
  11. 09 5月, 2007 2 次提交
  12. 23 3月, 2006 1 次提交
  13. 10 1月, 2006 1 次提交
  14. 07 1月, 2006 1 次提交
  15. 14 11月, 2005 2 次提交
  16. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4