Messages in this thread Patch in this message | | | Date | Thu, 20 Dec 2007 13:43:51 +0100 | Subject | Re: [PATCH] Fix crash with FLAT_MEMORY and ARCH_PFN_OFFSET != 0 | From | (Thomas Bogendoerfer) |
| |
On Thu, Dec 20, 2007 at 11:44:06AM +0000, Mel Gorman wrote: > --- a/include/asm-mips/page.h > +++ b/include/asm-mips/page.h > @@ -37,13 +37,6 @@ > #include <linux/pfn.h> > #include <asm/io.h> > > -/* > - * It's normally defined only for FLATMEM config but it's > - * used in our early mem init code for all memory models. > - * So always define it. > - */ > -#define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) > -
hmm, doesn't this break what I've fixed ? Without this #define ARCH_PFN_OFFSET gets defined to 0 and the bug is back. Or did I miss anything ?
Thomas.
-- Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ RFC1925, 2.3 ]
| |