lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/7] bootmem: mark link_bootmem() as part of the __init section
From
Date
On Tue, 2006-06-27 at 14:53 +0200, Franck Bui-Huu wrote:
> Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
> ---
> mm/bootmem.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/mm/bootmem.c b/mm/bootmem.c
> index d213fed..d0a34fe 100644
> --- a/mm/bootmem.c
> +++ b/mm/bootmem.c
> @@ -56,7 +56,7 @@ unsigned long __init bootmem_bootmap_pag
> /*
> * link bdata in order
> */
> -static void link_bootmem(bootmem_data_t *bdata)
> +static void __init link_bootmem(bootmem_data_t *bdata)
> {
> bootmem_data_t *ent;
> if (list_empty(&bdata_list)) {

Looks sane. Just curious, did you do any wider audit in bootmem.c for
more of these?

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-27 19:20    [W:0.373 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site