Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 02:04:27 +0000 (18:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 02:04:27 +0000 (18:04 -0800)
lib: use generic pci_iomap on all architectures

Many architectures don't want to pull in iomap.c,
so they ended up duplicating pci_iomap from that file.
That function isn't trivial, and we are going to modify it
https://lkml.org/lkml/2011/11/14/183
so the duplication hurts.

This reduces the scope of the problem significantly,
by moving pci_iomap to a separate file and
referencing that from all architectures.

* tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
  alpha: drop pci_iomap/pci_iounmap from pci-noop.c
  mn10300: switch to GENERIC_PCI_IOMAP
  mn10300: add missing __iomap markers
  frv: switch to GENERIC_PCI_IOMAP
  tile: switch to GENERIC_PCI_IOMAP
  tile: don't panic on iomap
  sparc: switch to GENERIC_PCI_IOMAP
  sh: switch to GENERIC_PCI_IOMAP
  powerpc: switch to GENERIC_PCI_IOMAP
  parisc: switch to GENERIC_PCI_IOMAP
  mips: switch to GENERIC_PCI_IOMAP
  microblaze: switch to GENERIC_PCI_IOMAP
  arm: switch to GENERIC_PCI_IOMAP
  alpha: switch to GENERIC_PCI_IOMAP
  lib: add GENERIC_PCI_IOMAP
  lib: move GENERIC_IOMAP to lib/Kconfig

Fix up trivial conflicts due to changes nearby in arch/{m68k,score}/Kconfig

15 files changed:
1  2 
arch/arm/Kconfig
arch/frv/Kconfig
arch/ia64/Kconfig
arch/m68k/Kconfig
arch/mips/Kconfig
arch/powerpc/Kconfig
arch/powerpc/platforms/Kconfig
arch/score/Kconfig
arch/sh/Kconfig
arch/sparc/Kconfig
arch/tile/kernel/pci.c
arch/x86/Kconfig
include/asm-generic/io.h
lib/Kconfig
lib/Makefile

Simple merge
Simple merge
Simple merge
index 81fdaa72c540e4315c2d9872d75ff0f4e17afba5,973e68614f28eb5a0c79627be9c370d73080f6da..99c363617f270fe3c0b6eb9f64c43a3c0d6bf0a0
@@@ -37,12 -38,6 +37,9 @@@ config GENERIC_CALIBRATE_DELA
        bool
        default y
  
- config GENERIC_IOMAP
-       def_bool MMU
 +config GENERIC_CSUM
 +      bool
 +
  config TIME_LOW_RES
        bool
        default y
Simple merge
Simple merge
Simple merge
index 8b0c9464aa9d10ece5562bad884969665ee6f348,455ce2d76823eb6c582c30bb3491b3886bbc8276..3df65d39abc15f361df4cc61eace374af74e4c17
@@@ -4,9 -4,7 +4,10 @@@ config SCOR
         def_bool y
         select HAVE_GENERIC_HARDIRQS
         select GENERIC_IRQ_SHOW
+        select GENERIC_IOMAP
 +       select HAVE_MEMBLOCK
 +       select HAVE_MEMBLOCK_NODE_MAP
 +       select ARCH_DISCARD_MEMBLOCK
  
  choice
        prompt "System type"
diff --cc arch/sh/Kconfig
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc lib/Kconfig
Simple merge
diff --cc lib/Makefile
Simple merge