Re: VM Regress 0.5 - Compile error with CONFIG_HIGHMEM

From: Mel (
Date: Sat Aug 17 2002 - 06:09:20 EST

On Thu, 15 Aug 2002, Mel wrote:

> Project page:
> Download:

0.5 won't compile with CONFIG_HIGHMEM set. Apply the following trivial
patch and it will compile at least. VM Regress has not been tested with
CONFIG_HIGHMEM set at all but there is no reason for it to fail because no
presumptions has been made about the number of nodes or zones in the

--- vmregress-0.5/src/sense/kvirtual.c Tue Aug 13 22:43:48 2002
+++ vmregress-0.5-highmem/src/sense/kvirtual.c Sat Aug 17 12:03:02 2002
@@ -29,6 +29,11 @@
 #include <linux/mm.h>
 #include <linux/sched.h>

+#include <linux/highmem.h>
+#include <asm/highmem.h>
 MODULE_AUTHOR("Mel Gorman <>");
 MODULE_DESCRIPTION("Prints out the kernel virtual memory area");

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:13 EST