Re: [PATCH RESEND] ARM: io: fix namespace conflicts

2010-12-08 Thread Varadarajan, Charulatha
Russell, On Fri, Dec 3, 2010 at 12:04, Sourav Poddar wrote: > Having __v as the variable name for the definition of different macros leads > to the namespace pollution. For example, > readl(p) > unrolls to: > ({ u32 __v = ({ u32 __v = (( __u32)(__le32)(( __le32) ((void)0, > *(volatile unsigned in

[PATCH RESEND] ARM: io: fix namespace conflicts

2010-12-02 Thread Sourav Poddar
Having __v as the variable name for the definition of different macros leads to the namespace pollution. For example, readl(p) unrolls to: ({ u32 __v = ({ u32 __v = (( __u32)(__le32)(( __le32) ((void)0, *(volatile unsigned int *)((p); __v; }); __asm__ __volatile__ ("mcr p15, , %0, c7, c10, 5" :