Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fabb8ff4ffa2b6bf89df8ed598551b6aaf632478
Commit:     fabb8ff4ffa2b6bf89df8ed598551b6aaf632478
Parent:     37efbb705a7c8778c5ee9f4ec6493cf2d958eecd
Author:     Kyle McMartin <[EMAIL PROTECTED]>
AuthorDate: Fri Jun 29 02:21:03 2007 -0400
Committer:  Kyle McMartin <[EMAIL PROTECTED]>
CommitDate: Mon Aug 27 00:29:22 2007 -0400

    [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 <[EMAIL PROTECTED]>
---
 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 c0fed91..4cc9bce 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
  *
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to