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

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

diff -u --recursive --new-file v2.4.9/linux/include/asm-alpha/core_t2.h linux/include/asm-alpha/core_t2.h
@@ -501,11 +501,18 @@
 	*(vuip)(work + (4 << 5)) = b >> 32;
 }
 
-__EXTERN_INLINE unsigned long t2_ioremap(unsigned long addr)
+__EXTERN_INLINE unsigned long t2_ioremap(unsigned long addr, 
+					 unsigned long size
+					 __attribute__((unused)))
 {
 	return addr;
 }
 
+__EXTERN_INLINE void t2_iounmap(unsigned long addr)
+{
+	return;
+}
+
 __EXTERN_INLINE int t2_is_ioaddr(unsigned long addr)
 {
 	return (long)addr >= 0;
@@ -530,7 +537,8 @@
 #define __writew(x,a)		t2_writew((x),(unsigned long)(a))
 #define __writel(x,a)		t2_writel((x),(unsigned long)(a))
 #define __writeq(x,a)		t2_writeq((x),(unsigned long)(a))
-#define __ioremap(a)		t2_ioremap((unsigned long)(a))
+#define __ioremap(a,s)		t2_ioremap((unsigned long)(a),(s))
+#define __iounmap(a)		t2_iounmap((unsigned long)(a))
 #define __is_ioaddr(a)		t2_is_ioaddr((unsigned long)(a))
 
 #endif /* __WANT_IO_DEF */

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