On Tue, 2008-05-27 at 15:42 -0600, Matthew Wilcox wrote:
Ah, that one is news to me. I don't think we ever had it on powerpc :-)
How many actually use __raw_ * ?
Why limit them to LE architecture ? There is nothing fundamentally
speicifc to LE architectures here, and it's wrong to provide accessors
on some archs and not others. The endianness is a property of the device
registers. Current writel/readl are basically writel_le/readl_le. It
thus makes sense to have the opposite, ie, readl_be/writel_be, which
thus byteswaps on LE platforms and not on BE platforms, which is what I
provided on powerpc a while ago.
Ben.
--