diff options
| author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-06 23:48:16 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-12 14:16:40 -0400 |
| commit | 4febd95a8a85dd38b1a71fcf9726e19c7fd20039 (patch) | |
| tree | 481a2d9ba18e2f76824659aa83c219f7c983db49 | |
| parent | 8aec0f5d4137532de14e6554fd5dd201ff3a3c49 (diff) | |
Select VIRT_TO_BUS directly where needed
In commit 887cbce0adea ("arch Kconfig: centralise ARCH_NO_VIRT_TO_BUS")
I introduced the config sybmol HAVE_VIRT_TO_BUS and selected that where
needed. I am not sure what I was thinking. Instead, just directly
select VIRT_TO_BUS where it is needed.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | arch/Kconfig | 7 | ||||
| -rw-r--r-- | arch/alpha/Kconfig | 2 | ||||
| -rw-r--r-- | arch/arm/Kconfig | 2 | ||||
| -rw-r--r-- | arch/avr32/Kconfig | 2 | ||||
| -rw-r--r-- | arch/blackfin/Kconfig | 2 | ||||
| -rw-r--r-- | arch/cris/Kconfig | 2 | ||||
| -rw-r--r-- | arch/frv/Kconfig | 2 | ||||
| -rw-r--r-- | arch/h8300/Kconfig | 2 | ||||
| -rw-r--r-- | arch/ia64/Kconfig | 2 | ||||
| -rw-r--r-- | arch/m32r/Kconfig | 2 | ||||
| -rw-r--r-- | arch/m68k/Kconfig | 2 | ||||
| -rw-r--r-- | arch/microblaze/Kconfig | 2 | ||||
| -rw-r--r-- | arch/mips/Kconfig | 2 | ||||
| -rw-r--r-- | arch/mn10300/Kconfig | 2 | ||||
| -rw-r--r-- | arch/openrisc/Kconfig | 2 | ||||
| -rw-r--r-- | arch/parisc/Kconfig | 2 | ||||
| -rw-r--r-- | arch/powerpc/Kconfig | 2 | ||||
| -rw-r--r-- | arch/s390/Kconfig | 2 | ||||
| -rw-r--r-- | arch/score/Kconfig | 2 | ||||
| -rw-r--r-- | arch/tile/Kconfig | 2 | ||||
| -rw-r--r-- | arch/unicore32/Kconfig | 2 | ||||
| -rw-r--r-- | arch/x86/Kconfig | 2 | ||||
| -rw-r--r-- | arch/xtensa/Kconfig | 2 | ||||
| -rw-r--r-- | mm/Kconfig | 8 |
24 files changed, 28 insertions, 31 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 5a1779c93940..1455579791ec 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
| @@ -319,13 +319,6 @@ config ARCH_WANT_OLD_COMPAT_IPC | |||
| 319 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION | 319 | select ARCH_WANT_COMPAT_IPC_PARSE_VERSION |
| 320 | bool | 320 | bool |
| 321 | 321 | ||
| 322 | config HAVE_VIRT_TO_BUS | ||
| 323 | bool | ||
| 324 | help | ||
| 325 | An architecture should select this if it implements the | ||
| 326 | deprecated interface virt_to_bus(). All new architectures | ||
| 327 | should probably not select this. | ||
| 328 | |||
| 329 | config HAVE_ARCH_SECCOMP_FILTER | 322 | config HAVE_ARCH_SECCOMP_FILTER |
| 330 | bool | 323 | bool |
| 331 | help | 324 | help |
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 5833aa441481..8a33ba01301f 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig | |||
| @@ -9,7 +9,7 @@ config ALPHA | |||
| 9 | select HAVE_PERF_EVENTS | 9 | select HAVE_PERF_EVENTS |
| 10 | select HAVE_DMA_ATTRS | 10 | select HAVE_DMA_ATTRS |
| 11 | select HAVE_GENERIC_HARDIRQS | 11 | select HAVE_GENERIC_HARDIRQS |
| 12 | select HAVE_VIRT_TO_BUS | 12 | select VIRT_TO_BUS |
| 13 | select GENERIC_IRQ_PROBE | 13 | select GENERIC_IRQ_PROBE |
| 14 | select AUTO_IRQ_AFFINITY if SMP | 14 | select AUTO_IRQ_AFFINITY if SMP |
| 15 | select GENERIC_IRQ_SHOW | 15 | select GENERIC_IRQ_SHOW |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9c87fd8ed9eb..a98070fe7f14 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -49,7 +49,7 @@ config ARM | |||
| 49 | select HAVE_REGS_AND_STACK_ACCESS_API | 49 | select HAVE_REGS_AND_STACK_ACCESS_API |
| 50 | select HAVE_SYSCALL_TRACEPOINTS | 50 | select HAVE_SYSCALL_TRACEPOINTS |
| 51 | select HAVE_UID16 | 51 | select HAVE_UID16 |
| 52 | select HAVE_VIRT_TO_BUS | 52 | select VIRT_TO_BUS |
| 53 | select KTIME_SCALAR | 53 | select KTIME_SCALAR |
| 54 | select PERF_USE_VMALLOC | 54 | select PERF_USE_VMALLOC |
| 55 | select RTC_LIB | 55 | select RTC_LIB |
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig index 9b89257b2cfd..c1a868d398bd 100644 --- a/arch/avr32/Kconfig +++ b/arch/avr32/Kconfig | |||
| @@ -7,7 +7,7 @@ config AVR32 | |||
| 7 | select HAVE_OPROFILE | 7 | select HAVE_OPROFILE |
| 8 | select HAVE_KPROBES | 8 | select HAVE_KPROBES |
| 9 | select HAVE_GENERIC_HARDIRQS | 9 | select HAVE_GENERIC_HARDIRQS |
| 10 | select HAVE_VIRT_TO_BUS | 10 | select VIRT_TO_BUS |
| 11 | select GENERIC_IRQ_PROBE | 11 | select GENERIC_IRQ_PROBE |
| 12 | select GENERIC_ATOMIC64 | 12 | select GENERIC_ATOMIC64 |
| 13 | select HARDIRQS_SW_RESEND | 13 | select HARDIRQS_SW_RESEND |
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 600494c70e96..c3f2e0bc644a 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
| @@ -33,7 +33,7 @@ config BLACKFIN | |||
| 33 | select ARCH_HAVE_CUSTOM_GPIO_H | 33 | select ARCH_HAVE_CUSTOM_GPIO_H |
| 34 | select ARCH_WANT_OPTIONAL_GPIOLIB | 34 | select ARCH_WANT_OPTIONAL_GPIOLIB |
| 35 | select HAVE_UID16 | 35 | select HAVE_UID16 |
| 36 | select HAVE_VIRT_TO_BUS | 36 | select VIRT_TO_BUS |
| 37 | select ARCH_WANT_IPC_PARSE_VERSION | 37 | select ARCH_WANT_IPC_PARSE_VERSION |
| 38 | select HAVE_GENERIC_HARDIRQS | 38 | select HAVE_GENERIC_HARDIRQS |
| 39 | select GENERIC_ATOMIC64 | 39 | select GENERIC_ATOMIC64 |
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index bb0ac66cf533..06dd026533e3 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
| @@ -43,7 +43,7 @@ config CRIS | |||
| 43 | select GENERIC_ATOMIC64 | 43 | select GENERIC_ATOMIC64 |
| 44 | select HAVE_GENERIC_HARDIRQS | 44 | select HAVE_GENERIC_HARDIRQS |
| 45 | select HAVE_UID16 | 45 | select HAVE_UID16 |
| 46 | select HAVE_VIRT_TO_BUS | 46 | select VIRT_TO_BUS |
| 47 | select ARCH_WANT_IPC_PARSE_VERSION | 47 | select ARCH_WANT_IPC_PARSE_VERSION |
| 48 | select GENERIC_IRQ_SHOW | 48 | select GENERIC_IRQ_SHOW |
| 49 | select GENERIC_IOMAP | 49 | select GENERIC_IOMAP |
diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index 12369b194c7b..2ce731f9aa4d 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig | |||
| @@ -6,7 +6,7 @@ config FRV | |||
| 6 | select HAVE_PERF_EVENTS | 6 | select HAVE_PERF_EVENTS |
| 7 | select HAVE_UID16 | 7 | select HAVE_UID16 |
| 8 | select HAVE_GENERIC_HARDIRQS | 8 | select HAVE_GENERIC_HARDIRQS |
| 9 | select HAVE_VIRT_TO_BUS | 9 | select VIRT_TO_BUS |
| 10 | select GENERIC_IRQ_SHOW | 10 | select GENERIC_IRQ_SHOW |
| 11 | select HAVE_DEBUG_BUGVERBOSE | 11 | select HAVE_DEBUG_BUGVERBOSE |
| 12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index ae8551eb3736..79250de1b12a 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig | |||
| @@ -5,7 +5,7 @@ config H8300 | |||
| 5 | select HAVE_GENERIC_HARDIRQS | 5 | select HAVE_GENERIC_HARDIRQS |
| 6 | select GENERIC_ATOMIC64 | 6 | select GENERIC_ATOMIC64 |
| 7 | select HAVE_UID16 | 7 | select HAVE_UID16 |
| 8 | select HAVE_VIRT_TO_BUS | 8 | select VIRT_TO_BUS |
| 9 | select ARCH_WANT_IPC_PARSE_VERSION | 9 | select ARCH_WANT_IPC_PARSE_VERSION |
| 10 | select GENERIC_IRQ_SHOW | 10 | select GENERIC_IRQ_SHOW |
| 11 | select GENERIC_CPU_DEVICES | 11 | select GENERIC_CPU_DEVICES |
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 33f3fdc0b214..9a02f71c6b1f 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
| @@ -26,7 +26,7 @@ config IA64 | |||
| 26 | select HAVE_MEMBLOCK | 26 | select HAVE_MEMBLOCK |
| 27 | select HAVE_MEMBLOCK_NODE_MAP | 27 | select HAVE_MEMBLOCK_NODE_MAP |
| 28 | select HAVE_VIRT_CPU_ACCOUNTING | 28 | select HAVE_VIRT_CPU_ACCOUNTING |
| 29 | select HAVE_VIRT_TO_BUS | 29 | select VIRT_TO_BUS |
| 30 | select ARCH_DISCARD_MEMBLOCK | 30 | select ARCH_DISCARD_MEMBLOCK |
| 31 | select GENERIC_IRQ_PROBE | 31 | select GENERIC_IRQ_PROBE |
| 32 | select GENERIC_PENDING_IRQ if SMP | 32 | select GENERIC_PENDING_IRQ if SMP |
diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index 92623818a1fe..bcd17b206571 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig | |||
| @@ -10,7 +10,7 @@ config M32R | |||
| 10 | select ARCH_WANT_IPC_PARSE_VERSION | 10 | select ARCH_WANT_IPC_PARSE_VERSION |
| 11 | select HAVE_DEBUG_BUGVERBOSE | 11 | select HAVE_DEBUG_BUGVERBOSE |
| 12 | select HAVE_GENERIC_HARDIRQS | 12 | select HAVE_GENERIC_HARDIRQS |
| 13 | select HAVE_VIRT_TO_BUS | 13 | select VIRT_TO_BUS |
| 14 | select GENERIC_IRQ_PROBE | 14 | select GENERIC_IRQ_PROBE |
| 15 | select GENERIC_IRQ_SHOW | 15 | select GENERIC_IRQ_SHOW |
| 16 | select GENERIC_ATOMIC64 | 16 | select GENERIC_ATOMIC64 |
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 0e708c78e01c..6de813370b8c 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
| @@ -8,7 +8,7 @@ config M68K | |||
| 8 | select GENERIC_IRQ_SHOW | 8 | select GENERIC_IRQ_SHOW |
| 9 | select GENERIC_ATOMIC64 | 9 | select GENERIC_ATOMIC64 |
| 10 | select HAVE_UID16 | 10 | select HAVE_UID16 |
| 11 | select HAVE_VIRT_TO_BUS | 11 | select VIRT_TO_BUS |
| 12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS | 12 | select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS |
| 13 | select GENERIC_CPU_DEVICES | 13 | select GENERIC_CPU_DEVICES |
| 14 | select GENERIC_STRNCPY_FROM_USER if MMU | 14 | select GENERIC_STRNCPY_FROM_USER if MMU |
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 7843d11156e6..1323fa2530eb 100644 --- a/arch/microblaze/Kconfig +++ b/arch/microblaze/Kconfig | |||
| @@ -19,7 +19,7 @@ config MICROBLAZE | |||
| 19 | select HAVE_DEBUG_KMEMLEAK | 19 | select HAVE_DEBUG_KMEMLEAK |
| 20 | select IRQ_DOMAIN | 20 | select IRQ_DOMAIN |
| 21 | select HAVE_GENERIC_HARDIRQS | 21 | select HAVE_GENERIC_HARDIRQS |
| 22 | select HAVE_VIRT_TO_BUS | 22 | select VIRT_TO_BUS |
| 23 | select GENERIC_IRQ_PROBE | 23 | select GENERIC_IRQ_PROBE |
| 24 | select GENERIC_IRQ_SHOW | 24 | select GENERIC_IRQ_SHOW |
| 25 | select GENERIC_PCI_IOMAP | 25 | select GENERIC_PCI_IOMAP |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index ae9c716c46bb..cd2e21ff562a 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -38,7 +38,7 @@ config MIPS | |||
| 38 | |||
