1. 20 Oct, 2011 7 commits
    • Ralf Baechle's avatar
      Revert "MIPS: LD/SD o32 macro GAS fix update" · b77bb37a
      Ralf Baechle authored
      This reverts commit 97475f8b42e83be2966aa2d70ab9c98477701c53 (lmo) /
      82b89152 (kernel.org) [MIPS: LD/SD o32
      macro GAS fix update].
      
      Turns out this patch is producing many build errors with gcc 4.2.  Based
      on further testing with a test case extracted from the build errors found
      further build errors and suboptimal generation even in violation of the
      "R" constraint.
      
      To make matters worse, the binutils changes also don't work quite as
      intended so revert this patch for now.
      b77bb37a
    • Ralf Baechle's avatar
      MIPS: SNI: Fix conflicting wrapper symbols for headers. · dd5d1380
      Ralf Baechle authored
      If Open Firmware / Device Tree support is enabled on a SNI RM kernel both
      <asm/mipsprom.h> and <asm/prom.h> will be included into some .c files.
      Since both headers use the same wrapper symbol only the inclusion of the
      first file will have an effect but the 2nd file will be ignored resulting
      in a build error.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      dd5d1380
    • Ralf Baechle's avatar
      MIPS: PNX8550: Fix section mismatch · cba2efb6
      Ralf Baechle authored
      Triggered by pnx8550-jbs_defconfig and pnx8550-stb810_defconfig:
      
      WARNING: vmlinux.o(.text+0xc0c): Section mismatch in reference from the function prom_getcmdline() to the variable .init.data:arcs_cmdline
      The function prom_getcmdline() references
      the variable __initdata arcs_cmdline.
      This is often because prom_getcmdline lacks a __initdata
      annotation or the annotation of arcs_cmdline is wrong.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      cba2efb6
    • Ralf Baechle's avatar
      MIPS: 32-bit: Fix number of argument to epoll_wait. · 5db6acdb
      Ralf Baechle authored
      The number of arguments only matters for syscalls with stack arguments that
      is using 5 or more argument slots so this is just cosmetic fix.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      5db6acdb
    • Ralf Baechle's avatar
      MIPS: IP27: Sort out section mismatch. · 901f6169
      Ralf Baechle authored
      WARNING: vmlinux.o(.text+0x3059f8): Section mismatch in reference from the function pcibios_plat_dev_init() to the function .devinit.text:request_bridge_irq()
      The function pcibios_plat_dev_init() references
      the function __devinit request_bridge_irq().
      This is often because pcibios_plat_dev_init lacks a __devinit
      annotation or the annotation of request_bridge_irq is wrong.
      
      Fixing this one leads to:
      
      WARNING: vmlinux.o(.text+0x1790): Section mismatch in reference from the function request_bridge_irq() to the function .devinit.text:register_bridge_irq()
      The function request_bridge_irq() references
      the function __devinit register_bridge_irq().
      This is often because request_bridge_irq lacks a __devinit
      annotation or the annotation of register_bridge_irq is wrong.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      901f6169
    • Ralf Baechle's avatar
      MIPS: cache: Provide cache flush operations for XFS · d9cdc901
      Ralf Baechle authored
      Until now flush_kernel_vmap_range() and invalidate_kernel_vmap_range() did
      not exist on MIPS resulting in heavy cache corruption on XFS filesystems.
      
      Left for the post-3.0 time: optimization and make this work with highmem,
      too.  Since the combination of highmem + cache aliases atm doesn't work
      this isn't a regression.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      Patchwork: https://patchwork.linux-mips.org/patch/2505/
      d9cdc901
    • John Crispin's avatar
      MIPS: Lantiq: Fix MTD registration of NOR device · 2e5db86d
      John Crispin authored
      The 2 functions add_mtd_partitions and del_mtd_partitions were renamed to
      mtd_device_register and mtd_device_unregister.
      Signed-of-by: default avatarJohn Crispin <blogic@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/2463/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      2e5db86d
  2. 18 Oct, 2011 1 commit
  3. 17 Oct, 2011 1 commit
    • Linus Torvalds's avatar
      Avoid using variable-length arrays in kernel/sys.c · a84a79e4
      Linus Torvalds authored
      The size is always valid, but variable-length arrays generate worse code
      for no good reason (unless the function happens to be inlined and the
      compiler sees the length for the simple constant it is).
      
      Also, there seems to be some code generation problem on POWER, where
      Henrik Bakken reports that register r28 can get corrupted under some
      subtle circumstances (interrupt happening at the wrong time?).  That all
      indicates some seriously broken compiler issues, but since variable
      length arrays are bad regardless, there's little point in trying to
      chase it down.
      
      "Just don't do that, then".
      Reported-by: default avatarHenrik Grindal Bakken <henribak@cisco.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a84a79e4
  4. 16 Oct, 2011 1 commit
  5. 15 Oct, 2011 3 commits
  6. 14 Oct, 2011 6 commits
  7. 13 Oct, 2011 7 commits
  8. 11 Oct, 2011 5 commits
  9. 10 Oct, 2011 9 commits