Re: [PATCH v2] x86: fix section mismatch warning - spp_getpage()

From: Ingo Molnar
Date: Fri Aug 15 2008 - 13:15:21 EST



* Marcin Slusarz <marcin.slusarz@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/