]> err.no Git - linux-2.6/commit
[PATCH] Introduce __iowrite32_copy
authorBryan O'Sullivan <bos@pathscale.com>
Wed, 1 Feb 2006 11:05:16 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:13 +0000 (08:53 -0800)
commitc27a0d75b33c030965cc97d3d7f571107a673fb4
treec4d797b413bb6f8a1b8507213294a291ab5114f8
parentf7589f28d7dd4586b4e90ac3b2a180409669053a
[PATCH] Introduce __iowrite32_copy

This arch-independent routine copies data to a memory-mapped I/O region,
using 32-bit accesses.  The naming is double-underscored to make it clear
that it does not guarantee write ordering, nor does it perform a memory
barrier afterwards; the kernel doc also explicitly states this.  This style
of access is required by some devices.

This change also introduces include/linux/io.h, at Andrew's suggestion.  It
only has one occupant at the moment, but is a logical destination for
oft-replicated contents of include/asm-*/{io,iomap}.h to migrate to.

Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/io.h [new file with mode: 0644]
lib/Makefile
lib/iomap_copy.c [new file with mode: 0644]