1. 24 Nov, 2008 1 commit
    • 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
  2. 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
  3. 20 Nov, 2008 38 commits