Re: [PATCH -next] res_counter: Add missing #include <linux/errno.h>

From: Li Zefan
Date: Sat Mar 09 2013 - 05:41:46 EST


On 2013/3/9 16:51, Geert Uytterhoeven wrote:
> Commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae ("res_counter: remove
> include of cgroup.h from res_counter.h") removed the indirect inclusion of
> <linux/errno.h>, breaking the build on m68k and sparc:
>
> In file included from mm/memcontrol.c:29:
> include/linux/res_counter.h: In function âres_counter_set_limitâ:
> include/linux/res_counter.h:203: error: âEBUSYâ undeclared (first use in this function)
> include/linux/res_counter.h:203: error: (Each undeclared identifier is reported only once
> include/linux/res_counter.h:203: error: for each function it appears in.)
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Acked-by: Li Zefan <lizefan@xxxxxxxxxx>

--
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/