summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-07-18 00:09:30 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-18 01:20:22 -0700
commit0785b9dcdc3d93e67529e4bd819a427776d3a07e (patch)
treec9c3d556ba4f10352c50d6d137cc68f50802885f /arch
parentd762acdbd3b2bd9a714ace47d7b0c76133d7b295 (diff)
downloadlinux-0785b9dcdc3d93e67529e4bd819a427776d3a07e.tar.gz
linux-0785b9dcdc3d93e67529e4bd819a427776d3a07e.tar.bz2
linux-0785b9dcdc3d93e67529e4bd819a427776d3a07e.zip
[SPARC]: Mark sparc and sparc64 as not having virt_to_bus
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/Kconfig3
-rw-r--r--arch/sparc64/Kconfig3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 73df7115325b..603d83ad65c8 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -21,6 +21,9 @@ config GENERIC_ISA_DMA
bool
default y
+config ARCH_NO_VIRT_TO_BUS
+ def_bool y
+
source "init/Kconfig"
menu "General machine setup"
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig
index b84b6af1241e..df6ee71894d1 100644
--- a/arch/sparc64/Kconfig
+++ b/arch/sparc64/Kconfig
@@ -62,6 +62,9 @@ config AUDIT_ARCH
bool
default y
+config ARCH_NO_VIRT_TO_BUS
+ def_bool y
+
choice
prompt "Kernel page size"
default SPARC64_PAGE_SIZE_8KB