powerpc/44x: Fix ocm_block allocation
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Dec 2013 00:43:37 +0000 (19:43 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Dec 2013 00:25:04 +0000 (11:25 +1100)
commit1b429835be7ce514b36b551e785d425fd56cd1f2
tree6696b1ef3296dd0d0298744bb8a1b3eedb59b3eb
parent2d6f0c3ae609a73ce6753395daaab3204cd33918
powerpc/44x: Fix ocm_block allocation

Allocate enough memory for the ocm_block structure, not just a pointer
to it.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/ppc4xx_ocm.c