public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] include/linux/res_counter.h: fixup commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae
@ 2013-03-10  3:12 Chen Gang
  2013-03-11  1:14 ` Li Zefan
  0 siblings, 1 reply; 3+ messages in thread
From: Chen Gang @ 2013-03-10  3:12 UTC (permalink / raw)
  To: lizefan, tj, kamezawa.hiroyu, glommer, fweisbec
  Cc: Andrew Morton, linux-kernel@vger.kernel.org


  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@asianux.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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-11  5:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-10  3:12 [PATCH] include/linux/res_counter.h: fixup commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae Chen Gang
2013-03-11  1:14 ` Li Zefan
2013-03-11  5:09   ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox