commit | 55052eeca6d71d76f7c3f156c0501814d8e5e6d3 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Apr 07 14:39:36 2010 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Apr 07 14:39:47 2010 +1000 |
tree | 7a13664cc8c99ffbad425dbc0eefd4ccceb70b8a | |
parent | f467bc148d05a1465211102804858df9c667f8b9 [diff] |
powerpc: Fix ioremap_flags() with book3e pte definition We can't just clear the user read permission in book3e pte, because that will also clear supervisor read permission. This surely isn't desired. Fix the problem by adding the supervisor read back. BenH: Slightly simplified the ifdef and applied to ppc64 too Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>