diff options
author | Kyle McMartin <kyle@parisc-linux.org> | 2007-06-29 02:21:03 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@minerva.i.cabal.ca> | 2007-08-27 00:29:22 -0400 |
commit | fabb8ff4ffa2b6bf89df8ed598551b6aaf632478 (patch) | |
tree | e1f29d37691a6eda77e3a0a6649a1521f1535e0b /include/asm-parisc | |
parent | 37efbb705a7c8778c5ee9f4ec6493cf2d958eecd (diff) | |
download | linux-stable-fabb8ff4ffa2b6bf89df8ed598551b6aaf632478.tar.gz linux-stable-fabb8ff4ffa2b6bf89df8ed598551b6aaf632478.tar.bz2 linux-stable-fabb8ff4ffa2b6bf89df8ed598551b6aaf632478.zip |
[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>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r-- | include/asm-parisc/io.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h index c0fed91da3a2..4cc9bcec0564 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 * |