提交 0785b9dc 编写于 作者: S Stephen Rothwell 提交者: David S. Miller

[SPARC]: Mark sparc and sparc64 as not having virt_to_bus

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d762acdb
...@@ -21,6 +21,9 @@ config GENERIC_ISA_DMA ...@@ -21,6 +21,9 @@ config GENERIC_ISA_DMA
bool bool
default y default y
config ARCH_NO_VIRT_TO_BUS
def_bool y
source "init/Kconfig" source "init/Kconfig"
menu "General machine setup" menu "General machine setup"
......
...@@ -62,6 +62,9 @@ config AUDIT_ARCH ...@@ -62,6 +62,9 @@ config AUDIT_ARCH
bool bool
default y default y
config ARCH_NO_VIRT_TO_BUS
def_bool y
choice choice
prompt "Kernel page size" prompt "Kernel page size"
default SPARC64_PAGE_SIZE_8KB default SPARC64_PAGE_SIZE_8KB
......
...@@ -14,11 +14,6 @@ ...@@ -14,11 +14,6 @@
#define __SLOW_DOWN_IO do { } while (0) #define __SLOW_DOWN_IO do { } while (0)
#define SLOW_DOWN_IO do { } while (0) #define SLOW_DOWN_IO do { } while (0)
extern unsigned long virt_to_bus_not_defined_use_pci_map(volatile void *addr);
#define virt_to_bus virt_to_bus_not_defined_use_pci_map
extern unsigned long bus_to_virt_not_defined_use_pci_map(volatile void *addr);
#define bus_to_virt bus_to_virt_not_defined_use_pci_map
/* BIO layer definitions. */ /* BIO layer definitions. */
extern unsigned long kern_base, kern_size; extern unsigned long kern_base, kern_size;
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册