1. 01 12月, 2008 35 次提交
  2. 26 11月, 2008 1 次提交
  3. 25 11月, 2008 2 次提交
    • A
      Input: replace spin_lock_bh with spin_lock_irqsave in ml_ff_playback · 8442c87d
      Arjan van de Ven 提交于
      ml_ff_playback() uses spin_(un)lock_bh. However this function is
      called with interrupts disabled from erase_effect() in
      drivers/input/ff-core.c:196.
      
      This is not permitted, and will result in a WARN_ON in the bottom
      half handling code. This patch changes this function to just use
      spin_lock_irqsave() instead, solving the problem and simplifying
      the locking logic.
      
      This was reported as entry #106559 in kerneloops.org
      
      Reported-by: kerneloops.org
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      8442c87d
    • D
      MIPS: Make BUG() __noreturn. · 8ec2e243
      David Daney 提交于
      Often we do things like put BUG() in the default clause of a case
      statement.  Since it was not declared __noreturn, this could sometimes
      lead to bogus compiler warnings that variables were used
      uninitialized.
      
      There is a small problem in that we have to put a magic while(1); loop to
      fool GCC into really thinking it is noreturn.  This makes the new
      BUG() function 3 instructions long instead of just 1, but I think it
      is worth it as it is now unnecessary to do extra work to silence the
      'used uninitialized' warnings.
      
      I also re-wrote BUG_ON so that if it is given a constant condition, it
      just does BUG() instead of loading a constant value in to a register
      and testing it.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      8ec2e243
  4. 21 11月, 2008 2 次提交
    • L
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · ed313489
      Linus Torvalds 提交于
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] 5330/1: mach-pxa: Fixup reset for systems using reboot=cold or other strings
        [ARM] pxa: fix incorrect PCMCIA PSKTSEL pin configuration for spitz
        [ARM] pxa: fix I2C controller device being registered twice on Akita
        pxafb: only initialize the smart panel thread when dealing with a smartpanel
        pxafb: introduce LCD_TYPE_MASK and use it.
      ed313489
    • L
      Linux 2.6.28-rc6 · 13d428af
      Linus Torvalds 提交于
      13d428af