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 <[email protected]>
CC: Eric Dumazet <[email protected]>
---
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
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 <[email protected]>
Acked-by: Jesper Nilsson <[email protected]>
> CC: Eric Dumazet <[email protected]>
> ---
> 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 -- [email protected]