1. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  2. 13 2月, 2007 1 次提交
    • J
      [PATCH] Char: timers cleanup · 40565f19
      Jiri Slaby 提交于
      - Use timer macros to set function and data members and to modify
        expiration time.
      - Use DEFINE_TIMER for global timers and do not init them at run-time in
        these cases.
      - del_timer_sync is common in most cases -- we want to wait for timer
        function if it's still running.
      Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
      Cc: Dave Airlie <airlied@linux.ie>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Paul Fulghum <paulkf@microgate.com>
      Cc: Kylene Jo Hall <kjhall@us.ibm.com>
      Cc: Wim Van Sebroeck <wim@iguana.be>
      Acked-by: Dmitry Torokhov <dtor@mail.ru>	(Input bits)
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      40565f19
  3. 08 12月, 2006 1 次提交
    • N
      [PATCH] Correct misc_register return code handling in several drivers · 5d469ec0
      Neil Horman 提交于
      Clean up several code points in which the return code from misc_register is
      not handled properly.
      
      Several modules failed to deregister various hooks when misc_register fails,
      and this patch cleans them up.  Also there are a few modules that legitimately
      don't care about the failure status of misc register.  These drivers however
      unilaterally call misc_deregister on module unload.
      
      Since misc_register doesn't initialize the list_head in the init_routine if it
      fails, the deregister operation is at risk for oopsing when list_del is
      called.  The initial solution was to manually init the list in the miscdev
      structure in each of those modules, but the consensus in this thread was to
      consolodate and do that universally inside misc_register.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Kylene Jo Hall <kjhall@us.ibm.com>
      Cc: Dmitry Torokhov <dtor@mail.ru>
      Cc: Olaf Hering <olh@suse.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5d469ec0
  4. 02 12月, 2006 1 次提交
  5. 22 11月, 2006 1 次提交
  6. 12 10月, 2006 1 次提交
  7. 15 7月, 2006 1 次提交
  8. 23 4月, 2006 9 次提交
  9. 09 1月, 2006 1 次提交
  10. 18 11月, 2005 1 次提交
  11. 14 11月, 2005 2 次提交
  12. 31 10月, 2005 4 次提交
  13. 30 6月, 2005 1 次提交
  14. 26 6月, 2005 2 次提交
  15. 24 6月, 2005 13 次提交