powerpc: Fix uninitialised error in numa.c
authorMichael Neuling <mikey@neuling.org>
Tue, 19 Jun 2012 20:01:45 +0000 (20:01 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 29 Jun 2012 04:35:35 +0000 (14:35 +1000)
commit82b2521d257b5c0efd51821cf5fa306e53bbb6ba
tree3a47b50308894b16559384077003a9bc80eb5e61
parent7784655acc5a946aac49af423cc1099c5d593d73
powerpc: Fix uninitialised error in numa.c

chroma_defconfig currently gives me this with gcc 4.6:
  arch/powerpc/mm/numa.c:638:13: error: 'dm' may be used uninitialized in this function [-Werror=uninitialized]

It's a bogus warning/error since of_get_drconf_memory() only writes it
anyway.

Signed-off-by: Michael Neuling <mikey@neuling.org>
cc: <stable@kernel.org> [v3.3+]
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c