1. 17 10月, 2008 1 次提交
    • D
      W1: fix deadlocks and remove w1_control_thread · c30c9b15
      David Fries 提交于
      w1_control_thread was removed which would wake up every second and process
      newly registered family codes and complete some final cleanup for a
      removed master.  Those routines were moved to the threads that were
      previously requesting those operations.  A new function
      w1_reconnect_slaves takes care of reconnecting existing slave devices when
      a new family code is registered or removed.  The removal case was missing
      and would cause a deadlock waiting for the family code reference count to
      decrease, which will now happen.  A problem with registering a family code
      was fixed.  A slave device would be unattached if it wasn't yet claimed,
      then attached at the end of the list, two unclaimed slaves would cause an
      infinite loop.
      
      The struct w1_bus_master.search now takes a pointer to the struct
      w1_master device to avoid searching for it, which would have caused a
      lock ordering deadlock with the removal of w1_control_thread.
      Signed-off-by: NDavid Fries <david@fries.net>
      Signed-off-by: NEvgeniy Polyakov <johnpol@2ka.mipt.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c30c9b15
  2. 23 6月, 2006 1 次提交
    • E
      [PATCH] W1: possible cleanups · 70d484bf
      Evgeniy Polyakov 提交于
      This patch contains the following possible cleanups:
      - the following file did't #include the header with the prototypes for
        it's global functions:
        - w1_int.c
      - #if 0 the following unused global function:
        - w1_family.c: w1_family_get()
      - make the following needlessly global functions static:
        - w1_family.c: __w1_family_put()
        - w1_io.c: w1_delay()
        - w1_io.c: w1_touch_bit()
        - w1_io.c: w1_read_8()
      - remove the following unused EXPORT_SYMBOL's:
        - w1_family.c: w1_family_put
        - w1_family.c: w1_family_registered
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NEvgeniy Polyakov <johnpol@2ka.mipt.ru>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      70d484bf
  3. 24 3月, 2006 1 次提交
  4. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681
  5. 09 9月, 2005 1 次提交
  6. 22 6月, 2005 4 次提交
  7. 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