1. 30 Nov, 2008 35 commits
  2. 26 Nov, 2008 1 commit
  3. 24 Nov, 2008 2 commits
    • Arjan van de Ven's avatar
      Input: replace spin_lock_bh with spin_lock_irqsave in ml_ff_playback · 8442c87d
      Arjan van de Ven authored
      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: default avatarArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      8442c87d
    • David Daney's avatar
      MIPS: Make BUG() __noreturn. · 8ec2e243
      David Daney authored
      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: default avatarDavid Daney <ddaney@caviumnetworks.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      8ec2e243
  4. 21 Nov, 2008 1 commit
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · ed313489
      Linus Torvalds authored
      * 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
  5. 20 Nov, 2008 1 commit