diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2018-01-03 12:09:33 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-01-21 18:32:24 +0300 |
commit | 636e645f1f2a5826beacd23548696f1655b0b5d8 (patch) | |
tree | 7da9b80b5249802ed0f622120b6d44a40d079c78 /ipc/util.c | |
parent | 62d1c95d577ce4d40189e4c01025b616917e3c65 (diff) | |
download | linux-636e645f1f2a5826beacd23548696f1655b0b5d8.tar.xz |
ARM: 8740/1: NOMMU: Make sure we do not hold stale data in mem[] array
adjust_lowmem_bounds() called twice which can lead to stalled data
(i.e. subreg) value in mem[] array after the first call.
Zero out mem[] array before we allocate MPU regions for memory.
Fixes: 5c9d9a1b3a54 ("ARM: 8712/1: NOMMU: Use more MPU regions to cover memory")
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions