Messages in this thread | | | Subject | RE: [-mm Patch] uml: fix a building error | Date | Thu, 17 Jan 2008 15:17:38 -0800 | From | "Pallipadi, Venkatesh" <> |
| |
>-----Original Message----- >From: Jeff Dike [mailto:jdike@addtoit.com] >Sent: Thursday, January 17, 2008 3:08 PM >To: Pallipadi, Venkatesh >Cc: Andrew Morton; Mariusz Kozlowski; WANG Cong; >linux-kernel@vger.kernel.org; >user-mode-linux-devel@lists.sourceforge.net; David Miller; >sparclinux@vger.kernel.org; Ingo Molnar; Thomas Gleixner >Subject: Re: [-mm Patch] uml: fix a building error > >On Thu, Jan 17, 2008 at 01:41:50PM -0800, Venki Pallipadi wrote: >> > And while we're on the subject, what's the deal with these, in >> > include/asm-x86/io.h? >> > >> > #define ioremap_wc ioremap_wc >> > #define unxlate_dev_mem_ptr unxlate_dev_mem_ptr >> > >> >> If archs want to override the defaults for these two >functions, they define >> the above and then include asm-generic/iomap.h. > >That wasn't really the question. > >#define X X > >is a no-op, yes? >
Later there is code in generic.h which is doing #ifndef ioremap_wc #define ioremap_wc ioremap_nocache #endif
Thanks, Venki
| |