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: Stephen Rothwell <[email protected]>
Reviewed-by: James Hogan <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: H Hartley Sweeten <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Stephen Rothwell 2013-02-27 17:05:48 -08:00 • committed by Linus Torvalds
commit 887cbce0ad
26 changed files with 30 additions and 10 deletions

View file

@ -287,7 +287,7 @@ config NR_QUICK
config VIRT_TO_BUS
def_bool y
depends on !ARCH_NO_VIRT_TO_BUS
depends on HAVE_VIRT_TO_BUS
config MMU_NOTIFIER
bool