lkml.org 
[lkml]   [2001]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] highmem-2.4.0-A0 (was: Re: 2.4.0-ac6: mm/vmalloc.c compile error)

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>
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.842 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site