]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parisc: Zero-initialize newly alloced memblock
authorHelge Deller <deller@gmx.de>
Tue, 11 Oct 2016 18:40:02 +0000 (20:40 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 11 Oct 2016 18:52:12 +0000 (20:52 +0200)
commite3b6a02816ebbda3acfde2f079446ba92c97e70b
tree1414f6d618b481545c01aee4aa6b0c35ad89bdac
parentf79b076eb3a8fa70662584f3ac63ab16787a79a0
parisc: Zero-initialize newly alloced memblock

Commit 4fe9e1d957e4 ("parisc: Drop bootmem and switch to memblock")
switched to the memblock allocator, but missed to zero-initialize the
newly allocated memblocks. This lead to crashes on some machines like
the rp3410.

Fixes: 4fe9e1d957e4 ("parisc: Drop bootmem and switch to memblock")
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/mm/init.c