On Sat, 2016-01-23 at 15:13 +0100, Willy Tarreau wrote: > 2.6.32-longterm review patch. If anyone has any objections, please let me know. > > ------------------ > > From: Andrew Banman <abanman@xxxxxxx> > > commit 5f0f2887f4de9508dcf438deab28f1de8070c271 upstream. [...] > diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c > index f4be464..de19654 100644 > --- a/mm/memory_hotplug.c > +++ b/mm/memory_hotplug.c > @@ -601,23 +601,30 @@ int is_mem_section_removable(unsigned long start_pfn, unsigned long nr_pages) > */ > static int test_pages_in_a_zone(unsigned long start_pfn, unsigned long end_pfn) > { > - unsigned long pfn; > + unsigned long pfn, sec_end_pfn; > struct zone *zone = NULL; > struct page *page; > int i; > - for (pfn = start_pfn; > + for (pfn = start_pfn, sec_end_pfn = SECTION_ALIGN_UP(start_pfn); [...] SECTION_ALIGN_UP() is not defined in 2.6.32; it was added by commit a539f3533b78. Ben. -- Ben Hutchings Life is what happens to you while you're busy making other plans. - John Lennon
Attachment:
signature.asc
Description: This is a digitally signed message part