Re: [PATCH][2.6.24-rc2-mm1] memory hotplug x86_64 fix [3/3] fix section mismatch in init_memory_mapping

KAMEZAWA Hiroyuki
2007-11-16T05:10:57Z

On Thu, 15 Nov 2007 16:59:35 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:

> > Index: linux-2.6.24-rc2-mm1/arch/x86/mm/init_64.c
> > ===================================================================
> > --- linux-2.6.24-rc2-mm1.orig/arch/x86/mm/init_64.c
> > +++ linux-2.6.24-rc2-mm1/arch/x86/mm/init_64.c
> > @@ -347,7 +347,7 @@ static void __init find_early_table_spac
> > /* Setup the direct mapping of the physical memory at PAGE_OFFSET.
> > This runs before bootmem is initialized and gets pages directly from the
> > physical memory. To access them they are temporarily mapped. */
> > -void __meminit init_memory_mapping(unsigned long start, unsigned long end)
> > +void __init_refok init_memory_mapping(unsigned long start, unsigned long end)
> > {
> > unsigned long next;
> >
>
> again, I _think_ this fixes a bug in mainline. Can you check that please?
>
Yes, this section mismatch happens on 2.6.24-rc2.

Thanks,
-Kame