It would if it was some kind of klunky mapping. On a sane machine it isnt.
On x86 for example:
#define __io_virt(x) ((void *)(x))
#define memcpy_fromio(a,b,c) memcpy((a),__io_virt(b),(c))
so you get no overhead.
What happens on a sparc64 is another guess.
> It is no surprise to me that many of the drivers don't do things correctly,
> considering how tough it is to determine what correct is.
You are welcome and encouraged to submit documentation fixes. Bad documentation
is a bug.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/