summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2007-06-29 02:21:03 -0400
committerKyle McMartin <kyle@minerva.i.cabal.ca>2007-08-27 00:29:22 -0400
commitfabb8ff4ffa2b6bf89df8ed598551b6aaf632478 (patch)
treee1f29d37691a6eda77e3a0a6649a1521f1535e0b
parent37efbb705a7c8778c5ee9f4ec6493cf2d958eecd (diff)
[PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines
Less painful than fixing up the Kconfig for a pile of drivers to only build on X86 && ARM && MIPS... Just make them BUG(), as defining them to be 1:1 with physical memory will likely HPMC the box anyways. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r--include/asm-parisc/io.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h
index c0fed91da3a..4cc9bcec056 100644
--- a/include/asm-parisc/io.h
+++ b/include/asm-parisc/io.h
@@ -15,6 +15,16 @@ extern unsigned long parisc_vmerge_max_size;
#define virt_to_bus virt_to_phys
#define bus_to_virt phys_to_virt
+static inline unsigned long isa_bus_to_virt(unsigned long addr) {
+ BUG();
+ return 0;
+}
+
+static inline unsigned long isa_virt_to_bus(void *addr) {
+ BUG();
+ return 0;
+}
+
/*
* Memory mapped I/O
*