25 Feb
2012
25 Feb
'12
12:15 a.m.
On Fri, Feb 24, 2012 at 05:05:16PM -0600, Timur Tabi wrote:
Russell King - ARM Linux wrote:
Ho hum. So, what that's saying to me is that even implementing in_32be() on ARM results in rubbish because it wouldn't be big endian there.
Well, the "be" in in_be32() means to assume that 32-bit integer is stored in big-endian format, and to convert it to native format during the read. An ARM implementation of in_be32() would include byte-swapping.
So, let's go around this loop again.
What would be wrong with converting in_be32() in these drivers to instead ioread32be()?