No VMALLOC_END in 2.1.110

Stephen Williams (
Fri, 24 Jul 1998 23:33:18 -0700

I'm compiling 2.1.110 for alpha and I find that someone put a define
of VMALLOC_END into asm-i386/pgtable.h and used it in mm/vmalloc.c.
This won't do at all. I thought I remember seeing some traffic about
this, but I can't find it in the archives.

So, I did the following ifdef in vmalloc.c to get past that error (I didn't
try to figure it out, it just looks like these two lines are the only
change) until I hear from someone who knows what the canonical fix is.

#if defined(VMALLOC_END)
if (addr > VMALLOC_END-size)
return NULL;


Steve Williams                "The woods are lovely, dark and deep.              But I have promises to keep,            and lines to code before I sleep,       And lines to code before I sleep."

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