1. 18 11月, 2005 1 次提交
    • C
      [PATCH] x86: fix sigaddset() inline asm memory constraint · b7fd1edd
      Constantine Gavrilov 提交于
      Due to incomplete memory constraints, gcc would miscompile code with
      sigaddset on i386 if sig arg was const.
      
      A quote form Jakub to make the issue clear:
      
       "You need either
      	__asm__("btsl %1,%0" : "+m"(*set) : "Ir"(_sig-1) : "cc");
        or
      	__asm__("btsl %1,%0" : "=m"(*set) : "Ir"(_sig-1), "m"(*set) : "cc");
        because the btsl instruction doesn't just set the memory to some
        value, but needs to read its previous content as well.  If you don't
        tell that fact to GCC, GCC is of course free to optimize as if the asm
        was just setting the value and not depended on the previous value."
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b7fd1edd
  2. 04 5月, 2005 1 次提交
    • A
      [PATCH] asm/signal.h unification · b1ecb4c3
      Al Viro 提交于
      New file - asm-generic/signal.h.  Contains declarations of
      __sighandler_t, __sigrestore_t, SIG_DFL, SIG_IGN, SIG_ERR and default
      definitions of SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK.
      
      asm-*/signal.h switched to including it.  The only exception is
      asm-parisc/signal.h that wants its own declaration of __sighandler_t;
      that one is left as-is.
      
      asm-ppc64/signal.h required one more thing - unlike everybody else it
      used __sigrestorer_t instead of usual __sigrestore_t.  PPC64 switched to
      common spelling.
      Signed-off-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b1ecb4c3
  3. 01 5月, 2005 1 次提交
  4. 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