diff options
author | Jean-Samuel Chenard <jsamch@gmail.com> | 2008-03-14 11:28:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-24 22:33:49 -0700 |
commit | c9698d6b1a90929e427a165bd8283f803f57d9bd (patch) | |
tree | d73c313d4fb05014ce5cf593c97d0ee44cdc5cd3 /drivers/mtd/mtdchar.c | |
parent | 7c12c92fba4bd985ed6d909e5537468b268dcaa4 (diff) |
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>
Diffstat (limited to 'drivers/mtd/mtdchar.c')
0 files changed, 0 insertions, 0 deletions