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

Johan Adolfsson (johan.adolfsson@axis.com)
Tue, 14 May 2002 17:11:35 +0200


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/