lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[patch for v2.6.24] fix section mismatch warning in page_alloc.c

* Sam Ravnborg <sam@ravnborg.org> wrote:

> [PATCH] mm: fix section mismatch warning in page_alloc.c
>
> With CONFIG_HOTPLUG=n and CONFIG_HOTPLUG_CPU=y we saw following
> warning: WARNING: mm/built-in.o(.text+0x6864): Section mismatch:
> reference to .init.text: (between 'process_zones' and
> 'pageset_cpuup_callback')
>
> The culprint was zone_batchsize() which were annotated __devinit but
> used from process_zones() which is annotated __cpuinit.
> zone_batchsize() are used from another function annotated __meminit so
> the only valid option is to drop the annotation of zone_batchsize() so
> we know it is always valid to use it.

Andrew: a v2.6.24 mm fix i think.

Acked-by: Ingo Molnar <mingo@elte.hu>

Ingo


\
 
 \ /
  Last update: 2008-01-15 23:15    [W:0.163 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site