summaryrefslogtreecommitdiff
path: root/arch/sh/mm/ioremap_fixed.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-19 04:34:38 (GMT)
committerPaul Mundt <lethal@linux-sh.org>2010-01-19 04:34:38 (GMT)
commitd57d64080ddc0ff13fcffc898b6251074a482ba1 (patch)
treec38fd506a30d56de84a39285412ffc1b45cc8d33 /arch/sh/mm/ioremap_fixed.c
parentaf1415314a4190b8ea06e53808d392fcf91555af (diff)
downloadlinux-fsl-qoriq-d57d64080ddc0ff13fcffc898b6251074a482ba1.tar.xz
sh: Prevent 64-bit pgprot clobbering across ioremap implementations.
Presently 'flags' gets passed around a lot between the various ioremap helpers and implementations, which is only 32-bits. In the X2TLB case we use 64-bit pgprots which presently results in the upper 32bits being chopped off (which handily include our read/write/exec permissions). As such, we convert everything internally to using pgprot_t directly and simply convert over with pgprot_val() where needed. With this in place, transparent fixmap utilization for early ioremap works as expected. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/ioremap_fixed.c')
0 files changed, 0 insertions, 0 deletions