aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/pseries/hotplug-memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c b/arch/powerpc/platforms/pseries/hotplug-memory.c
index dc0a035e63b..2fe690fcaa1 100644
--- a/arch/powerpc/platforms/pseries/hotplug-memory.c
+++ b/arch/powerpc/platforms/pseries/hotplug-memory.c
@@ -101,7 +101,7 @@ static int pseries_remove_memblock(unsigned long base, unsigned int memblock_siz
101 sections_to_remove = (memblock_size >> PAGE_SHIFT) / PAGES_PER_SECTION; 101 sections_to_remove = (memblock_size >> PAGE_SHIFT) / PAGES_PER_SECTION;
102 for (i = 0; i < sections_to_remove; i++) { 102 for (i = 0; i < sections_to_remove; i++) {
103 unsigned long pfn = start_pfn + i * PAGES_PER_SECTION; 103 unsigned long pfn = start_pfn + i * PAGES_PER_SECTION;
104 ret = __remove_pages(zone, start_pfn, PAGES_PER_SECTION); 104 ret = __remove_pages(zone, pfn, PAGES_PER_SECTION);
105 if (ret) 105 if (ret)
106 return ret; 106 return ret;
107 } 107 }