Skip to contentSkip to conversation

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

PATCH New Johan Adolfsson 1 participant 1 message May 14, 2002 Memory management

lore
Share & tools
lore
#0 lore raw

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

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

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