Re: [PATCH 2/7] bootmem: mark link_bootmem() as part of the __initsection

From: Dave Hansen
Date: Tue Jun 27 2006 - 13:16:38 EST


On Tue, 2006-06-27 at 14:53 +0200, Franck Bui-Huu wrote:
> Signed-off-by: Franck Bui-Huu <vagabon.xyz@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/