mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.0-ac6: mm/vmalloc.c compile error
@ 2001-01-11  5:28 Frank Davis
  2001-01-11 10:36 ` [patch] highmem-2.4.0-A0 (was: Re: 2.4.0-ac6: mm/vmalloc.c compile error) Ingo Molnar
  2001-01-11 12:44 ` 2.4.0-ac6: mm/vmalloc.c compile error Alan Cox
  0 siblings, 2 replies; 3+ messages in thread
From: Frank Davis @ 2001-01-11  5:28 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

Hello,
  The following error occurred while compiling 2.4.0-ac6..The strange
thing is that I checked mm/vmalloc.c (line 188, and the entire file) and
didn't see PKMAP_BASE mentioned. My guess is that there is a problem with
one of the header files.

Regards,
Frank
 
vmalloc.c: In function `get_vm_area':
vmalloc.c:188: `PKMAP_BASE' undeclared (first use in this function)
vmalloc.c:188: (Each undeclared identifier is reported only once
vmalloc.c:188: for each function it appears in.)
make[2]: *** [vmalloc.o] Error 1
make[2]: Leaving directory `/usr/src/linux/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/mm'
make: *** [_dir_mm] Error 2

[-- Attachment #2: Type: text/html, Size: 1266 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [patch] highmem-2.4.0-A0 (was: Re: 2.4.0-ac6: mm/vmalloc.c compile error)
  2001-01-11  5:28 2.4.0-ac6: mm/vmalloc.c compile error Frank Davis
@ 2001-01-11 10:36 ` Ingo Molnar
  2001-01-11 12:44 ` 2.4.0-ac6: mm/vmalloc.c compile error Alan Cox
  1 sibling, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2001-01-11 10:36 UTC (permalink / raw)
  To: Frank Davis; +Cc: Alan Cox, Linus Torvalds, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 432 bytes --]


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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 285 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.0-ac6: mm/vmalloc.c compile error
  2001-01-11  5:28 2.4.0-ac6: mm/vmalloc.c compile error Frank Davis
  2001-01-11 10:36 ` [patch] highmem-2.4.0-A0 (was: Re: 2.4.0-ac6: mm/vmalloc.c compile error) Ingo Molnar
@ 2001-01-11 12:44 ` Alan Cox
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Cox @ 2001-01-11 12:44 UTC (permalink / raw)
  To: Frank Davis; +Cc: alan, linux-kernel

>   The following error occurred while compiling 2.4.0-ac6..The strange
> thing is that I checked mm/vmalloc.c (line 188, and the entire file) and
> didn't see PKMAP_BASE mentioned. My guess is that there is a problem with
> one of the header files.

Its defined in asm/highmem.h/ Probabyl a missing include if building a bigmem
kenrel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-01-11 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-11  5:28 2.4.0-ac6: mm/vmalloc.c compile error Frank Davis
2001-01-11 10:36 ` [patch] highmem-2.4.0-A0 (was: Re: 2.4.0-ac6: mm/vmalloc.c compile error) Ingo Molnar
2001-01-11 12:44 ` 2.4.0-ac6: mm/vmalloc.c compile error Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®