]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Missing include in mm/bootmem.c
authorJohan Adolfsson <johan.adolfsson@axis.com>
Mon, 3 Jun 2002 05:32:25 +0000 (22:32 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 3 Jun 2002 05:32:25 +0000 (22:32 -0700)
  Missing include of asm_io.h in mm_bootmem.c:
  Submitted this trivial patch on May 14, but nothing has happened yet.
  Perhaps better chance if you took care of it.

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

mm/bootmem.c

index 5027b289247197c819411ca38252905474660c14..ed35ee7012f5bb0179ea9a88ed62088892a21aa1 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/bootmem.h>
 #include <linux/mmzone.h>
 #include <asm/dma.h>
+#include <asm/io.h>
 
 /*
  * Access to this subsystem has to be serialized externally. (this is