Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 887cbce0 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds
Browse files

arch Kconfig: centralise CONFIG_ARCH_NO_VIRT_TO_BUS



Change it to CONFIG_HAVE_VIRT_TO_BUS and set it in all architecures
that already provide virt_to_bus().

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Reviewed-by: default avatarJames Hogan <james.hogan@imgtec.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: H Hartley Sweeten <hartleys@visionengravers.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 31b4ca3e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -303,6 +303,13 @@ config ARCH_WANT_OLD_COMPAT_IPC
	select ARCH_WANT_COMPAT_IPC_PARSE_VERSION
	bool

config HAVE_VIRT_TO_BUS
	bool
	help
	  An architecture should select this if it implements the
	  deprecated interface virt_to_bus().  All new architectures
	  should probably not select this.

config HAVE_ARCH_SECCOMP_FILTER
	bool
	help
+1 −0
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ config ALPHA
	select HAVE_PERF_EVENTS
	select HAVE_DMA_ATTRS
	select HAVE_GENERIC_HARDIRQS
	select HAVE_VIRT_TO_BUS
	select GENERIC_IRQ_PROBE
	select AUTO_IRQ_AFFINITY if SMP
	select GENERIC_IRQ_SHOW
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ config ARM
	select HAVE_REGS_AND_STACK_ACCESS_API
	select HAVE_SYSCALL_TRACEPOINTS
	select HAVE_UID16
	select HAVE_VIRT_TO_BUS
	select KTIME_SCALAR
	select PERF_USE_VMALLOC
	select RTC_LIB
+1 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ config AVR32
	select HAVE_OPROFILE
	select HAVE_KPROBES
	select HAVE_GENERIC_HARDIRQS
	select HAVE_VIRT_TO_BUS
	select GENERIC_IRQ_PROBE
	select GENERIC_ATOMIC64
	select HARDIRQS_SW_RESEND
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ config BLACKFIN
	select ARCH_HAVE_CUSTOM_GPIO_H
	select ARCH_WANT_OPTIONAL_GPIOLIB
	select HAVE_UID16
	select HAVE_VIRT_TO_BUS
	select ARCH_WANT_IPC_PARSE_VERSION
	select HAVE_GENERIC_HARDIRQS
	select GENERIC_ATOMIC64
Loading