Skip to content
Commit c9698d6b authored by Jean-Samuel Chenard's avatar Jean-Samuel Chenard Committed by Greg Kroah-Hartman
Browse files

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: default avatarJean-Samuel Chenard <jsamch@gmail.com>
Signed-off-by: default avatarHans J Koch <hjk@linutronix.de>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7c12c92f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment