Messages in this thread | | | Date | Fri, 15 Aug 2008 19:14:51 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH v2] x86: fix section mismatch warning - spp_getpage() |
| |
* Marcin Slusarz <marcin.slusarz@gmail.com> wrote:
> -static __init void *spp_getpage(void) > +/* > + * NOTE: This function is marked __ref because it calls __init function > + * (alloc_bootmem_pages). It's safe to do it ONLY when after_bootmem == 0. > + */ > +static __ref void *spp_getpage(void)
perfect - applied to tip/x86/urgent, thanks Marcin.
Ingo
| |