From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 25 Mar 2008 22:03:38 -0500 From: Jack Steiner Subject: Re: [RFC 6/8] x86_64: Define the macros and tables for the basic UV infrastructure. Message-ID: <20080326030338.GB11714@sgi.com> References: <20080324182118.GA21758@sgi.com> <87ej9zi05c.fsf@basil.nowhere.org> <20080326000930.GB18701@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080326000930.GB18701@infradead.org> Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Hellwig Cc: Andi Kleen , mingo@elte.hu, tglx@linutronix.de, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Tue, Mar 25, 2008 at 08:09:30PM -0400, Christoph Hellwig wrote: > On Tue, Mar 25, 2008 at 11:11:11AM +0100, Andi Kleen wrote: > > Not sure what physical mode is. > > > > > +#ifdef __BIOS__ > > > +#define UV_ADDR(x) ((unsigned long *)(x)) > > > +#else > > > +#define UV_ADDR(x) ((unsigned long *)__va(x)) > > > +#endif > > > > But it it would be cleaner if your BIOS just supplied a suitable __va() > > and then you remove these macros. > > the bios should just have headers of it's own instead of placing this > burden on kernel code. See mail from earlier today. The UV_ADDR macro has been eliminated. --- jack -- 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/ . Don't email: email@kvack.org