[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 10 Mar 2013 11:12:55 +0800
From: Chen Gang <gang.chen@...anux.com>
To: lizefan@...wei.com, tj@...nel.org, kamezawa.hiroyu@...fujitsu.com,
glommer@...allels.com, fweisbec@...hat.com
CC: Andrew Morton <akpm@...ux-foundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH] include/linux/res_counter.h: fixup commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae
still need include linux/errno.h for EBUSY.
additional info:
make command:
make EXTRA_CFLAGS=-W V=1 ARCH=arm allmodconfig
make EXTRA_CFLAGS=-W V=1 ARCH=arm
error report:
In file included from mm/memcontrol.c:28:0:
include/linux/res_counter.h: in function ‘res_counter_set_limit’:
include/linux/res_counter.h:204:13: error :‘EBUSY’ is not declared.
Signed-off-by: Chen Gang <gang.chen@...anux.com>
---
include/linux/res_counter.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/res_counter.h b/include/linux/res_counter.h
index a83a849..f9822dc 100644
--- a/include/linux/res_counter.h
+++ b/include/linux/res_counter.h
@@ -13,6 +13,7 @@
* info about what this counter is.
*/
+#include <linux/errno.h>
#include <linux/spinlock.h>
/*
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists