]> err.no Git - linux-2.6/blobdiff - include/asm-x86_64/io.h
fixed path to moved file in include/linux/device.h
[linux-2.6] / include / asm-x86_64 / io.h
index 52ff269fe05473ff255d8ced8c87f80a274e57b9..9dac18db829127db42b6ee3ea7135261e982b825 100644 (file)
@@ -143,6 +143,11 @@ static inline void __iomem * ioremap (unsigned long offset, unsigned long size)
 extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size);
 extern void iounmap(volatile void __iomem *addr);
 
+/* Use normal IO mappings for DMI */
+#define dmi_ioremap ioremap
+#define dmi_iounmap(x,l) iounmap(x)
+#define dmi_alloc(l) kmalloc(l, GFP_ATOMIC)
+
 /*
  * ISA I/O bus memory addresses are 1:1 with the physical address.
  */