[patch] 2.4.19 vmalloc.h

Keith Owens (kaos@ocs.com.au)
Sat, 03 Aug 2002 14:33:09 +1000


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 */

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