From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 17 Aug 2002 13:21:53 +0100 From: Christoph Hellwig Subject: Re: VM Regress 0.5 - Compile error with CONFIG_HIGHMEM Message-ID: <20020817132153.A11758@infradead.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from mel@csn.ul.ie on Sat, Aug 17, 2002 at 12:09:20PM +0100 Sender: owner-linux-mm@kvack.org Return-Path: To: Mel Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Sat, Aug 17, 2002 at 12:09:20PM +0100, Mel wrote: > On Thu, 15 Aug 2002, Mel wrote: > > > > > Project page: http://www.csn.ul.ie/~mel/projects/vmregress/ > > Download: http://www.csn.ul.ie/~mel/projects/vmregress/vmregress-0.5.tar.gz > > 0.5 won't compile with CONFIG_HIGHMEM set. Apply the following trivial > patch and it will compile at least. VM Regress has not been tested with > CONFIG_HIGHMEM set at all but there is no reason for it to fail because no > presumptions has been made about the number of nodes or zones in the > machine > > > --- vmregress-0.5/src/sense/kvirtual.c Tue Aug 13 22:43:48 2002 > +++ vmregress-0.5-highmem/src/sense/kvirtual.c Sat Aug 17 12:03:02 2002 > @@ -29,6 +29,11 @@ > #include > #include > > +#ifdef CONFIG_HIGHMEM > +#include > +#include > +#endif Shouldn't an undonditional #include do it much cleaner? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/