RE: [-mm Patch] uml: fix a building error

From: Pallipadi, Venkatesh
Date: Thu Jan 17 2008 - 18:16:57 EST




>-----Original Message-----
>From: Jeff Dike [mailto:jdike@xxxxxxxxxxx]
>Sent: Thursday, January 17, 2008 3:08 PM
>To: Pallipadi, Venkatesh
>Cc: Andrew Morton; Mariusz Kozlowski; WANG Cong;
>linux-kernel@xxxxxxxxxxxxxxx;
>user-mode-linux-devel@xxxxxxxxxxxxxxxxxxxxx; David Miller;
>sparclinux@xxxxxxxxxxxxxxx; 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/