]> err.no Git - linux-2.6/commit
UIO: add pgprot_noncached() to UIO mmap code
authorJean-Samuel Chenard <jsamch@gmail.com>
Fri, 14 Mar 2008 10:28:36 +0000 (11:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 25 Mar 2008 05:33:49 +0000 (22:33 -0700)
commitc9698d6b1a90929e427a165bd8283f803f57d9bd
treed73c313d4fb05014ce5cf593c97d0ee44cdc5cd3
parent7c12c92fba4bd985ed6d909e5537468b268dcaa4
UIO: add pgprot_noncached() to UIO mmap code

Mapping of physical memory in UIO needs pgprot_noncached() to ensure
that IO memory is not cached. Without pgprot_noncached(), it (accidentally)
works on x86 and arm, but fails on PPC.

Signed-off-by: Jean-Samuel Chenard <jsamch@gmail.com>
Signed-off-by: Hans J Koch <hjk@linutronix.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio.c