include/linux/vmalloc.h -> include/asm/pgtable.h which defines
VMALLOC_END. Several architectures define VMALLOC_END via PKMAP_BASE
for CONFIG_HIGHMEM=y but PKMAP_BASE is undefined. Adding highmem.h to
vmalloc.h is the simplest fix.
Index: 19.1/include/linux/vmalloc.h
--- 19.1/include/linux/vmalloc.h Fri, 05 Jan 2001 13:42:29 +1100 kaos (linux-2.4/b/b/38_vmalloc.h 1.1 644)
+++ 19.1(w)/include/linux/vmalloc.h Sat, 03 Aug 2002 14:27:36 +1000 kaos (linux-2.4/b/b/38_vmalloc.h 1.1.2.1 644)
@@ -5,6 +5,7 @@
#include <linux/mm.h>
#include <linux/spinlock.h>
+#include <linux/highmem.h> /* several arch define VMALLOC_END via PKMAP_BASE */
#include <asm/pgtable.h>
/* bits in vm_struct->flags */