patch-2.4.10 linux/include/asm-alpha/jensen.h

Next file: linux/include/asm-alpha/keyboard.h
Previous file: linux/include/asm-alpha/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/include/asm-alpha/jensen.h linux/include/asm-alpha/jensen.h
@@ -274,11 +274,17 @@
 	*(vuip) (addr + (4 << 7)) = b >> 32;
 }
 
-__EXTERN_INLINE unsigned long jensen_ioremap(unsigned long addr)
+__EXTERN_INLINE unsigned long jensen_ioremap(unsigned long addr, 
+					     unsigned long size)
 {
 	return addr;
 }
 
+__EXTERN_INLINE void jensen_iounmap(unsigned long addr)
+{
+	return;
+}
+
 __EXTERN_INLINE int jensen_is_ioaddr(unsigned long addr)
 {
 	return (long)addr >= 0;
@@ -303,6 +309,7 @@
 #define __writel	jensen_writel
 #define __writeq	jensen_writeq
 #define __ioremap	jensen_ioremap
+#define __iounmap(a)	jensen_iounmap((unsigned long)a)
 #define __is_ioaddr	jensen_is_ioaddr
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)