1. 18 4月, 2007 2 次提交
  2. 23 3月, 2007 3 次提交
  3. 05 3月, 2007 1 次提交
  4. 18 2月, 2007 1 次提交
  5. 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
  6. 14 2月, 2007 15 次提交
  7. 13 2月, 2007 1 次提交
  8. 08 2月, 2007 2 次提交
  9. 06 1月, 2007 2 次提交
    • P
      i2c/m41t00: Do not forget to write year · 81ffbc04
      Philippe De Muyter 提交于
      m41t00.c forgets to set the year field in set_rtc_time; fix that.
      Signed-off-by: NPhilippe De Muyter <phdm@macqel.be>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Acked-by: NMark A. Greer <mgreer@mvista.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      81ffbc04
    • M
      i2c-mv64xxx: Fix random oops at boot · 3269bb63
      Maxime Bizon 提交于
      I have a Marvell board which has the same i2c hw block than mv64xxx, so
      I'm trying to use i2c-mv64xxx driver.
      
      But I get the following random oops at boot:
      
      Unable to handle kernel NULL pointer dereference at virtual address 00000002
      Backtrace: 
      [<c0397e4c>] (mv64xxx_i2c_intr+0x0/0x2b8) from [<c02879c4>] (__do_irq+0x4c/0x8c)
      [<c0287978>] (__do_irq+0x0/0x8c) from [<c0287c0c>] (do_level_IRQ+0x68/0xc0)
       r8 = C0501E08  r7 = 00000005  r6 = C0501E08  r5 = 00000005
       r4 = C048BB78 
      [<c0287ba4>] (do_level_IRQ+0x0/0xc0) from [<c02885f8>] (asm_do_IRQ+0x50/0x134)
       r6 = C0449C78  r5 = F1020000  r4 = FFFFFFFF 
      [<c02885a8>] (asm_do_IRQ+0x0/0x134) from [<c02869c4>] (__irq_svc+0x24/0x100)
       r8 = C1CAC400  r7 = 00000005  r6 = 00000002  r5 = F1020000
       r4 = FFFFFFFF 
      [<c0287efc>] (setup_irq+0x0/0x124) from [<c02880d0>] (request_irq+0xb0/0xd0)
       r7 = C041B2AC  r6 = C0397E4C  r5 = 00000000  r4 = 00000005
      [<c0288020>] (request_irq+0x0/0xd0) from [<c03985f4>] (mv64xxx_i2c_probe+0x148/0x244)
      [<c03984ac>] (mv64xxx_i2c_probe+0x0/0x244) from [<c038bedc>] (platform_drv_probe+0x20/0x24)
      
      
      The oops is caused by a spurious interrupt that occurs when request_irq
      is called. mv64xxx_i2c_fsm() tries to read drv_data->msg, which is NULL.
      
      I noticed that hardware init is done after requesting irq. Thus any
      pending irq from previous hardware usage may cause this.
      
      The following patch fixes it:
      Signed-off-by: NMaxime Bizon <mbizon@freebox.fr>
      Acked-by: NMark A. Greer <mgreer@mvista.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      3269bb63
  10. 04 1月, 2007 2 次提交
    • D
      i2c: Migration aids for i2c_adapter.dev removal · b119dc3f
      David Brownell 提交于
      Flag i2c_adapter.dev for removal after userspace tools get upgraded, and
      include a near-term code migration aid to facilitate this:
      
       - The class device gets the name attribute it should have had.  This
         was previously (wrongly) associated with the i2c_adapter.dev node.
         Sysfs based tools and libraries can start converting right away.
      
       - Issue a warning for legacy adapter drivers that don't provide any
         physical device node; so systems with those drivers will know to
         fix this problem earlier.
      
      This is one of a series of patches to help the I2C stack become a better
      citizen of the Linux Driver Model world.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      b119dc3f
    • V
      i2c-pnx: Fix interrupt handler, get rid of EARLY config option · 6c566fb7
      Vitaly Wool 提交于
      This fixes two issues raised by David Brownell on the i2c list:
      
      << Someone needs to update i2c-pnx.c to handle the IRQ handler doesn't
      expect pt_regs (gone now for a while), and so it doesn't try to
      reference "mudule_init()" if I2C isn't initialized "early".  For
      that matter, to get rid of that _option_ to initialize then, and
      always init that driver with subsystem_init() ... it's common with
      embedded systems to need I2C access to tweak a GPIO expander or
      do some other work when bringing up drivers, that's not specific
      to USB stacks. >>
      Signed-off-by: NVitaly Wool <vitalywool@gmail.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      6c566fb7
  11. 14 12月, 2006 1 次提交
  12. 13 12月, 2006 1 次提交
  13. 11 12月, 2006 8 次提交