[PATCH] Missing include of asm/io.h in mm/bootmem.c

From: Johan Adolfsson (johan.adolfsson@axis.com)
Date: Tue May 14 2002 - 10:11:35 EST


It's needed by phys_to_virt() but it happens to work on i386
since dma.h includes io.h for that arch.

Please apply to both 2.4 and 2.5.

/Johan

--- linux/mm/bootmem.c 7 Jan 2002 13:33:59 -0000 1.1.1.7
+++ linux/mm/bootmem.c 7 Jan 2002 15:23:19 -0000 1.12
@@ -18,6 +18,7 @@
 #include <linux/bootmem.h>
 #include <linux/mmzone.h>
 #include <asm/dma.h>
+#include <asm/io.h>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:23 EST