Procházet zdrojové kódy

powerpc, memblock: Fix memblock API change fallout

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>
Yinghai Lu před 14 roky
rodič
revize
823108a056
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      arch/powerpc/platforms/embedded6xx/wii.c

+ 1 - 1
arch/powerpc/platforms/embedded6xx/wii.c

@@ -65,7 +65,7 @@ static int __init page_aligned(unsigned long x)
 
 
 void __init wii_memory_fixups(void)
 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
 	 * This is part of a workaround to allow the use of two