lkml.org 
[lkml]   [2008]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-08-15 19:17    [W:0.043 / U:2.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site