[lkml]   [1999]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: 2.3.32: CONFIG_BIGMEM does not compile on x86
On Sat, 16 Oct 1999, Adam J. Richter wrote:

> If CONFIG_BIGMEM is selected in Linux 2.3.22, then
>arch/i386/kernel/setup.c will refer to the symbol MAX_PFN, which
>is not defined.

Somebody cleanedup the mem init stuff and added a typo. Here it is the
fix against 2.3.22:

--- 2.3.22-bigmem/arch/i386/kernel/setup.c.~1~ Sat Oct 16 03:34:51 1999
+++ 2.3.22-bigmem/arch/i386/kernel/setup.c Sun Oct 17 19:53:28 1999
@@ -590,8 +590,8 @@
#define MAXBIGMEM ((unsigned long)(~(VMALLOC_RESERVE-1)))
- if (max_pfn > MAX_PFN)
- max_pfn = MAX_PFN;
+ if (max_pfn > MAXBIGMEM_PFN)
+ max_pfn = MAXBIGMEM_PFN;

/* When debugging, make half of "normal" memory be BIGMEM memory instead */

BTW, I have no idea what pfn means (p is page, n is number, f is _not_ fault).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [W:0.039 / U:1.692 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site