]> 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)
commit4d1b2f4faa2e0053b4d1bfa1265ef898879c757d
tree6696b1ef3296dd0d0298744bb8a1b3eedb59b3eb
parent438db6179e7f07f3bbe9a4f8d7fc5a71f2fc200b
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