On Mon, Jan 23, 2012 at 8:05 AM, Hitoshi Mitake<h.mitake@xxxxxxxxx> wrote:
I wrote the patch which adds the new file include/asm-generic/io-nonatomic.h.
io-nonatomic.h provides non-atomic version readq()/writeq().
I do wonder if we should do "little-endian" and "big-endian" variations?
Quoting Willy:
"For this particular hardware, it's defined to work if you read the
low order bits first"
so I think we need make that explicit, and make two include files:
include/asm-generic/io-64b-lo-hi.h
include/asm-generic/io-64b-hi-lo.h
or something like that. And thus indirectly document these kinds of
requirements.