summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/highmem.h
diff options
context:
space:
mode:
authorMarcin Nowakowski <marcin.nowakowski@imgtec.com>2017-04-11 10:00:34 +0300
committerRalf Baechle <ralf@linux-mips.org>2017-06-08 15:51:58 +0300
commit71eb989ab5a110df8bcbb9609bacde73feacbedd (patch)
tree872144f38e6b157976533c74cc37eb220c5a59ee /arch/mips/include/asm/highmem.h
parentf7a31b5e7874f77464a4eae0a8ba84b9ae0b3a54 (diff)
downloadlinux-71eb989ab5a110df8bcbb9609bacde73feacbedd.tar.xz
MIPS: mm: fixed mappings: correct initialisation
fixrange_init operates at PMD-granularity and expects the addresses to be PMD-size aligned, but currently that might not be the case for PKMAP_BASE unless it is defined properly, so ensure a correct alignment is used before passing the address to fixrange_init. fixed mappings: only align the start address that is passed to fixrange_init rather than the value before adding the size, as we may end up with uninitialised upper part of the range. Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/15948/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/highmem.h')
0 files changed, 0 insertions, 0 deletions