Proposed changes to io.h

John Whitney johnw at sands-edge.com
Thu Apr 1 04:50:43 EST 2004


> What mtd code?
>
> hch at bird:/repo/repo/linux-2.5$ grep __raw_readll include/asm-*/io.h |
> wc -l
> 0
> hch at bird:/repo/repo/linux-2.5$ grep __raw_readq include/asm-*/io.h |
> wc -l
> 22
>
>

Specifically, include/linux/mtd/cfi.h and include/linux/mtd/map.h.  If
__raw_readll/writell aren't defined (as macros), they define them as a
direct read/write from a volatile u64 pointer.  I'll copy this over to
an MTD developer as well, perhaps we can fix MTD to use the standard
__raw_readq/writeq instead.

John


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list