OpenVZ Forum


Home » Mailing lists » Devel » [PATCH -mmotm] res_counter: fix building failure
[PATCH -mmotm] res_counter: fix building failure [message #31505] Wed, 02 July 2008 06:16 Go to previous message
Li Zefan is currently offline  Li Zefan
Messages: 90
Registered: February 2008
Member
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)
 {
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AW: [Users] Multiple bridge support
Next Topic: Re: Attaching PID 0 to a cgroup
Goto Forum:
  


Current Time: Sat Mar 25 04:24:51 GMT 2023

Total time taken to generate the page: 0.00869 seconds