[PATCH] highmem: fixed ip27-memory.c build error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch has fixed following build error.
This error occurred in relation to reduce-max_nr_zones-move-highmem-counters-into-highmemc-h.patch .

  CC      arch/mips/sgi-ip27/ip27-memory.o
arch/mips/sgi-ip27/ip27-memory.c: In function `mem_init':
arch/mips/sgi-ip27/ip27-memory.c:582: error: `totalhigh_pages' undeclared (first use in this function)
arch/mips/sgi-ip27/ip27-memory.c:582: error: (Each undeclared identifier is reported only once
arch/mips/sgi-ip27/ip27-memory.c:582: error: for each function it appears in.)
make[1]: *** [arch/mips/sgi-ip27/ip27-memory.o] Error 1
make: *** [arch/mips/sgi-ip27] Error 2

Yoichi

Signed-off-by: Yoichi Yuasa <[email protected]>

diff -pruN -X linux-2.6.18-rc2-mm1/Documentation/dontdiff linux-2.6.18-rc2-mm1-orig/arch/mips/sgi-ip27/ip27-memory.c linux-2.6.18-rc2-mm1/arch/mips/sgi-ip27/ip27-memory.c
--- linux-2.6.18-rc2-mm1-orig/arch/mips/sgi-ip27/ip27-memory.c	2006-07-27 20:15:23.680114000 +0900
+++ linux-2.6.18-rc2-mm1/arch/mips/sgi-ip27/ip27-memory.c	2006-07-27 19:40:11.234693250 +0900
@@ -19,6 +19,7 @@
 #include <linux/swap.h>
 #include <linux/bootmem.h>
 #include <linux/pfn.h>
+#include <linux/highmem.h>
 #include <asm/page.h>
 #include <asm/sections.h>
 

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux