summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/prom.c
diff options
context:
space:
mode:
authorMarcin Nowakowski <marcin.nowakowski@imgtec.com>2016-11-23 14:43:45 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-03 16:34:45 +0100
commitd9b5b658210f28ed9f70c757d553e679d76e2986 (patch)
tree5f12af5404507bbbee0cb5880b21744e2b0d193f /arch/mips/kernel/prom.c
parente89ef66d7682f031f026eee6bba03c8c2248d2a9 (diff)
MIPS: init: Ensure bootmem does not corrupt reserved memory
Current init code initialises bootmem allocator with all of the low memory that it assumes is available, but does not check for reserved memory block, which can lead to corruption of data that may be stored there. Move bootmem's allocation map to a location that does not cross any reserved regions Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14609/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/prom.c')
0 files changed, 0 insertions, 0 deletions