Skip to content

Commit

Permalink
[PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Aug 27, 2007
1 parent 37efbb7 commit fabb8ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/asm-parisc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit fabb8ff

Please sign in to comment.