[PATCH] 2.4.1p2: compile fix (PKMAP_BASE undefined)

From: Peter Blomgren (blomgren@monster.Stanford.EDU)
Date: Thu Jan 11 2001 - 10:48:11 EST


Three one-liners to make 2.4.1p2 compile.

--- linux/fs/proc/kcore.c.orig Thu Jan 11 07:35:16 2001
+++ linux/fs/proc/kcore.c Thu Jan 11 07:36:29 2001
@@ -19,7 +19,7 @@
 #include <linux/vmalloc.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
-
+#include <linux/highmem.h>
 
 static int open_kcore(struct inode * inode, struct file * filp)
 {
--- linux/mm/vmalloc.c.orig Thu Jan 11 07:33:25 2001
+++ linux/mm/vmalloc.c Thu Jan 11 07:34:22 2001
@@ -10,6 +10,7 @@
 #include <linux/vmalloc.h>
 #include <linux/spinlock.h>
 #include <linux/smp_lock.h>
+#include <linux/highmem.h>
 
 #include <asm/uaccess.h>
 #include <asm/pgalloc.h>
--- linux/arch/i386/kernel/traps.c.orig Thu Jan 11 07:38:00 2001
+++ linux/arch/i386/kernel/traps.c Thu Jan 11 07:38:20 2001
@@ -23,6 +23,7 @@
 #include <linux/delay.h>
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
+#include <linux/highmem.h>
 
 #ifdef CONFIG_MCA
 #include <linux/mca.h>

-- 
\Peter.
"The one who loves the most wins."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:31 EST