No VMALLOC_END in 2.1.110

Stephen Williams (steve@icarus.com)
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;
#endif

Thanks,

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       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 majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html