Re: [PATCH] cris: Change function name from alloc_thread_info toalloc_thread_info_node

From: Jesper Nilsson
Date: Thu Mar 24 2011 - 07:59:01 EST


On Thu, Mar 24, 2011 at 07:00:48AM +0100, Nobuhiro Iwamatsu wrote:
> By commit b6a84016bd2598e35ead635147fa53619982648d, alloc_thread_info was
> replaced by alloc_thread_info_node.
> However, the change of the function name was incomplete.
>
> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@xxxxxxxxxxx>

Acked-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx>

> CC: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> ---
> arch/cris/include/asm/thread_info.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/cris/include/asm/thread_info.h b/arch/cris/include/asm/thread_info.h
> index 29b74a1..6f23eca 100644
> --- a/arch/cris/include/asm/thread_info.h
> +++ b/arch/cris/include/asm/thread_info.h
> @@ -68,7 +68,7 @@ struct thread_info {
> #define init_thread_info (init_thread_union.thread_info)
>
> /* thread information allocation */
> -#define alloc_thread_info(tsk, node) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
> +#define alloc_thread_info_node(tsk, node) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
> #define free_thread_info(ti) free_pages((unsigned long) (ti), 1)
>
> #endif /* !__ASSEMBLY__ */
> --
> 1.7.2.3

/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx
--
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/