1. 20 Jul, 2008 5 commits
    • Thomas Bogendoerfer's avatar
      [MIPS] IP22, IP28: Fix merge bug · 36e5c21d
      Thomas Bogendoerfer authored
      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: default avatarThomas 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: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      36e5c21d
    • Ralf Baechle's avatar
      [MIPS] Tinker with constraints in <asm/atomic.h> to fix build error. · d6d8a463
      Ralf Baechle authored
      [...]
        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: default avatarRalf Baechle <ralf@linux-mips.org>
      d6d8a463
    • Dmitri Vorobiev's avatar
      [MIPS] Add missing prototypes to asm/page.h · c29d1503
      Dmitri Vorobiev authored
      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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      c29d1503
    • Dmitri Vorobiev's avatar
      [MIPS] Fix missing prototypes in asm/fpu.h · f028b860
      Dmitri Vorobiev authored
      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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      f028b860
    • Dmitri Vorobiev's avatar
      [MIPS] PCI: Make the pcibios_max_latency variable static · 3450004a
      Dmitri Vorobiev authored
      The pcibios_max_latency variable is needlessly defined global, and this
      patch makes it static.
      
      Build-tested using malta_defconfig.
      Signed-off-by: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      3450004a
  2. 17 Jul, 2008 32 commits
  3. 16 Jul, 2008 3 commits
    • Jesse Barnes's avatar
      Revert "x86/PCI: ACPI based PCI gap calculation" · 58b6e553
      Jesse Barnes authored
      This reverts commit 809d9a8f.
      
      This one isn't quite ready for prime time.  It needs more testing and
      additional feedback from the ACPI guys.
      58b6e553
    • Coly Li's avatar
      [PATCH] ocfs2: fix oops in mmap_truncate testing · c0420ad2
      Coly Li authored
      This patch fixes a mmap_truncate bug which was found by ocfs2 test suite.
      
      In an ocfs2 cluster more than 1 node, run program mmap_truncate, which races
      mmap writes and truncates from multiple processes. While the test is
      running, a stat from another node forces writeout, causing an oops in
      ocfs2_get_block() because it sees a buffer to write which isn't allocated.
      
      This patch fixed the bug by clear dirty and uptodate bits in buffer, leave
      the buffer unmapped and return.
      
      Fix is suggested by Mark Fasheh, and I code up the patch.
      Signed-off-by: default avatarColy Li <coyli@suse.de>
      Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
      c0420ad2
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc · 8a0ca91e
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc: (68 commits)
        sdio_uart: Fix SDIO break control to now return success or an error
        mmc: host driver for Ricoh Bay1Controllers
        sdio: sdio_io.c Fix sparse warnings
        sdio: fix the use of hard coded timeout value.
        mmc: OLPC: update vdd/powerup quirk comment
        mmc: fix spares errors of sdhci.c
        mmc: remove multiwrite capability
        wbsd: fix bad dma_addr_t conversion
        atmel-mci: Driver for Atmel on-chip MMC controllers
        mmc: fix sdio_io sparse errors
        mmc: wbsd.c fix shadowing of 'dma' variable
        MMC: S3C24XX: Refuse incorrectly aligned transfers
        MMC: S3C24XX: Add maintainer entry
        MMC: S3C24XX: Update error debugging.
        MMC: S3C24XX: Add media presence test to request handling.
        MMC: S3C24XX: Fix use of msecs where jiffies are needed
        MMC: S3C24XX: Add MODULE_ALIAS() entries for the platform devices
        MMC: S3C24XX: Fix s3c2410_dma_request() return code check.
        MMC: S3C24XX: Allow card-detect on non-IRQ capable pin
        MMC: S3C24XX: Ensure host->mrq->data is valid
        ...
      
      Manually fixed up bogus executable bits on drivers/mmc/core/sdio_io.c
      and include/linux/mmc/sdio_func.h when merging.
      8a0ca91e