On Thu, 11 Jan 2001, Frank Davis wrote:

> Hello,
>   The following error occurred while compiling 2.4.0-ac6. [...]

> vmalloc.c: In function `get_vm_area':
> vmalloc.c:188: `PKMAP_BASE' undeclared (first use in this function)

you are compiling with HIGHMEM enabled (which makes sense only if you have
more than ~900MB RAM), and i accidentally broke HIGHMEM with the vmalloc
fix in -pre1/-ac5. The attached patch fixes it.

        Ingo
--- linux/include/linux/vmalloc.h.orig  Thu Jan 11 11:28:06 2001
+++ linux/include/linux/vmalloc.h       Thu Jan 11 11:28:33 2001
@@ -4,6 +4,7 @@
 #include <linux/sched.h>
 #include <linux/mm.h>
 #include <linux/spinlock.h>
+#include <linux/highmem.h>
 
 #include <asm/pgtable.h>
 

Reply via email to