]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01d1261626c11d7a35efcafec570e999b8284ea2
tree6696b1ef3296dd0d0298744bb8a1b3eedb59b3eb
parentdce0cc18f02c57c8bce58e5e7f296a32674b625a
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