1. 20 7月, 2008 5 次提交
    • T
      [MIPS] IP22, IP28: Fix merge bug · 36e5c21d
      Thomas Bogendoerfer 提交于
      Instead of one SGI_HAS_HAL2 for IP22 and one for IP28, IP28 got two of
      them... Let's give IP22 some ALSA sound, too.
      Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: Ralf Baechle <ralf@linux-mips.org>[MIPS] IP22, IP28: Fix merge bug
      
      Instead of one SGI_HAS_HAL2 for IP22 and one for IP28, IP28 got two of
      them... Let's give IP22 some ALSA sound, too.
      Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      36e5c21d
    • R
      [MIPS] Tinker with constraints in <asm/atomic.h> to fix build error. · d6d8a463
      Ralf Baechle 提交于
      [...]
        CC      init/main.o
      include/asm/bitops.h: In function `start_kernel':
      include/asm/bitops.h:76: warning: asm operand 2 probably doesn't match
      constraints
      include/asm/bitops.h:76: warning: asm operand 2 probably doesn't match
      constraints
      include/asm/bitops.h:76: warning: asm operand 2 probably doesn't match
      constraints
      include/asm/bitops.h:76: error: impossible constraint in `asm'
      include/asm/bitops.h:76: error: impossible constraint in `asm'
      include/asm/bitops.h:76: error: impossible constraint in `asm'
      make[1]: *** [init/main.o] Error 1
      [...]
      
      The build error is caused by the ages old gcc bug where gcc at the time of
      analyzing the constraints is unable to figure out that an "i" constraint
      actually can be satisfied and thus will abort unless an "r" is added to
      the constraint.  For the actual code generation gcc will only ever use the
      "i" constraint.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      d6d8a463
    • D
      [MIPS] Add missing prototypes to asm/page.h · c29d1503
      Dmitri Vorobiev 提交于
      This patch fixes the following sparse warnings:
      
      >>>>>>>>>>>>>>>>>>
      arch/mips/mm/page.c:284:16: warning: symbol
      'build_clear_page' was not declared. Should it be static?
      
      arch/mips/mm/page.c:426:16: warning: symbol 'build_copy_page'
      was not declared. Should it be static?
      >>>>>>>>>>>>>>>>>>
      
      The fix is to add appropriate prototypes to the header
      include/asm-mips/page.h.
      
      Build-tested against Malta defconfig.
      Signed-off-by: NDmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      c29d1503
    • D
      [MIPS] Fix missing prototypes in asm/fpu.h · f028b860
      Dmitri Vorobiev 提交于
      While building the Malta defconfig, sparse spat the following
      warnings:
      
      >>>>>>>>>>>>>>>>>>
      arch/mips/math-emu/kernel_linkage.c:31:6: warning: symbol
      'fpu_emulator_init_fpu' was not declared. Should it be static?
      
      arch/mips/math-emu/kernel_linkage.c:54:5: warning: symbol
      'fpu_emulator_save_context' was not declared. Should it be
      static?
      
      arch/mips/math-emu/kernel_linkage.c:68:5: warning: symbol
      'fpu_emulator_restore_context' was not declared. Should it be
      static?
      >>>>>>>>>>>>>>>>>>
      
      This patch fixes these errors by adding the proper prototypes
      to the include/asm-mips/fpu.h header, and actually using this
      header in the sparse-spotted source file.
      
      Build-tested with Malta defconfig.
      Signed-off-by: NDmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      f028b860
    • D
      [MIPS] PCI: Make the pcibios_max_latency variable static · 3450004a
      Dmitri Vorobiev 提交于
      The pcibios_max_latency variable is needlessly defined global, and this
      patch makes it static.
      
      Build-tested using malta_defconfig.
      Signed-off-by: NDmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      3450004a
  2. 18 7月, 2008 12 次提交
  3. 17 7月, 2008 23 次提交