1. 06 Sep, 2003 7 commits
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/irda-2.5 · dfc0c2b8
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      dfc0c2b8
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.6 · 43abf8d7
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      43abf8d7
    • Hugh Dickins's avatar
      [PATCH] Fix futex hashing bugs · f5ecfe8f
      Hugh Dickins authored
      This fixes two buts that the glibc NPTL verification tests found, one
      new and one old.
      
      The new bug is that "offset" has been declared as an alternative in
      the union, instead of as an element in the structures comprising it,
      effectively eliminating it from the key: keys match which should not.
      
      The old bug is that if futex_requeue were called with identical
      key1 and key2 (sensible? tended to happen given the first bug),
      it was liable to loop for a long time holding futex_lock: guard
      against that, still respecting the semantics of futex_requeue.
      
      While here, please let's also fix the get_futex_key VM_NONLINEAR
      case, which was returning the 1 from get_user_pages, taken as an
      error by its callers.  And save a few bytes and improve debuggability
      by uninlining the top-level futex_wake, futex_requeue, futex_wait.
      f5ecfe8f
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: fix imbalance preempt count with taskfile PIO · faff7e92
      Bartlomiej Zolnierkiewicz authored
      Noticed by Tejun Huh <tejun@aratech.co.kr>.
      faff7e92
    • Russell King's avatar
      [PCMCIA] Fix race condition causing cards to be incorrectly recognised · 6dbb44ac
      Russell King authored
      This patch fixes a race condition between the pcmcia socket initial
      insert processing, ds.c and cardmgr.  This allowed cardmgr to believe
      that a card was inserted while the card is still in the process of
      resetting itself, and it therefore tried to read the CIS while it
      was unavailable.
      
      We change the meaning of SOCKET_PRESENT slightly - it now means that
      a card is present _and we have completed its initialisation_.  We
      introduce SOCKET_INUSE to indicate that we have a reference count
      against the module.
      
      We also take the skt_sem to prevent clients from registering while
      we're handling an insert/remove/suspend/resume.
      6dbb44ac
    • Russell King's avatar
    • Russell King's avatar
      [PCMCIA] Fix cs.c debugging. · a423863f
      Russell King authored
      socket references are pointers, not integers.
      a423863f
  2. 05 Sep, 2003 33 commits