public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mmotm] res_counter: fix building failure
@ 2008-07-02  6:16 Li Zefan
  2008-07-02  6:45 ` Paul Menage
  0 siblings, 1 reply; 5+ messages in thread
From: Li Zefan @ 2008-07-02  6:16 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Paul Menage, Balbir Singh, KAMEZAWA Hiroyuki, Pavel Emelianov,
	LKML, Linux Containers

kernel/res_counter.c: In function 'res_counter_memparse_write_strategy':
kernel/res_counter.c:115: error: implicit declaration of function 'PAGE_ALIGN'	

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---

should follow cgroup-files-convert-res_counter_write-to-be-a-cgroups-write_string-handler.patch

--- linux-mm/kernel/res_counter.c.bak	2008-07-02 14:05:37.000000000 +0800
+++ linux-mm/kernel/res_counter.c	2008-07-02 14:07:36.000000000 +0800
@@ -13,6 +13,7 @@
 #include <linux/slab.h>
 #include <linux/res_counter.h>
 #include <linux/uaccess.h>
+#include <linux/mm.h>
 
 void res_counter_init(struct res_counter *counter)
 {

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

end of thread, other threads:[~2008-07-03 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02  6:16 [PATCH -mmotm] res_counter: fix building failure Li Zefan
2008-07-02  6:45 ` Paul Menage
2008-07-02  6:49   ` Li Zefan
2008-07-03  9:09     ` Balbir Singh
2008-07-03 10:17     ` Andrea Righi

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