powerpc, memblock: Fix memblock API change fallout
authorYinghai Lu <yinghai@kernel.org>
Sat, 11 Sep 2010 07:08:42 +0000 (00:08 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 11 Sep 2010 08:30:28 +0000 (10:30 +0200)
Fix memblock API change fallout in the WII code.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: linux-mm@kvack.org
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
LKML-Reference: <4C8B2AFA.2000705@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/platforms/embedded6xx/wii.c

index 8450c29..649473a 100644 (file)
@@ -65,7 +65,7 @@ static int __init page_aligned(unsigned long x)
 
 void __init wii_memory_fixups(void)
 {
-       struct memblock_region *p = memblock.memory.region;
+       struct memblock_region *p = memblock.memory.regions;
 
        /*
         * This is part of a workaround to allow the use of two