Re: [PATCH 2.6.39-rc1] Remove duplicated inline keyword in include/linux/memcontrol.h

From: Minchan Kim
Date: Tue Mar 29 2011 - 20:56:39 EST


It is fixed by Eric Dumazet and on mmotm now.
Thanks for the report, Tetsuo. :)

2011/3/30 Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>:
> In file included from include/linux/swap.h:8,
> Â Â Â Â Â Â Â Â from include/linux/suspend.h:4,
> Â Â Â Â Â Â Â Â from arch/x86/kernel/asm-offsets.c:12:
> include/linux/memcontrol.h:220: error: duplicate `inline'
> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
>
> Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
> ---
> Âinclude/linux/memcontrol.h | Â Â2 +-
> Â1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-2.6.39-rc1.orig/include/linux/memcontrol.h
> +++ linux-2.6.39-rc1/include/linux/memcontrol.h
> @@ -216,7 +216,7 @@ static inline void mem_cgroup_del_lru_li
> Â Â Â Âreturn ;
> Â}
>
> -static inline inline void mem_cgroup_rotate_reclaimable_page(struct page *page)
> +static inline void mem_cgroup_rotate_reclaimable_page(struct page *page)
> Â{
> Â Â Â Âreturn ;
> Â}
>



--
Kind regards,
Minchan Kim
--
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/