This doesn't compile for me, against 2.6.18 using sn2_defconfig. I get the following warnings and failures. Most of the warnings involve various *_file_write() functions, so I show a grep of those as well:
======================================================== $ make CHK include/linux/version.h CHK include/linux/utsrelease.h CC init/main.o CHK include/linux/compile.h CC mm/oom_kill.o CC kernel/sched.o CC kernel/fork.o LD mm/built-in.o LD init/built-in.o CC kernel/exit.o CC fs/proc/base.o LD fs/proc/proc.o LD fs/proc/built-in.o LD fs/built-in.o CC kernel/res_group/res_group.o CC kernel/res_group/shares.o CC kernel/container.o CC kernel/res_group/rgcs.o kernel/res_group/res_group.c: In function 'register_controller': kernel/res_group/res_group.c:124: warning: assignment from incompatible pointer type kernel/res_group/res_group.c:132: warning: assignment from incompatible pointer type CC kernel/cpuset.o kernel/res_group/rgcs.c: In function 'res_group_file_write': kernel/res_group/rgcs.c:232: warning: ISO C90 forbids mixed declarations and code CC kernel/cpu_acct.o kernel/container.c:1027: warning: initialization from incompatible pointer type kernel/container.c:1035: warning: initialization from incompatible pointer type kernel/container.c:1042: warning: initialization from incompatible pointer type CC kernel/res_group/numtasks.o kernel/cpuset.c:1021: warning: initialization from incompatible pointer type kernel/cpuset.c:1028: warning: initialization from incompatible pointer type kernel/cpuset.c:1035: warning: initialization from incompatible pointer type kernel/cpuset.c:1042: warning: initialization from incompatible pointer type kernel/cpuset.c:1049: warning: initialization from incompatible pointer type kernel/cpuset.c:1056: warning: initialization from incompatible pointer type kernel/cpuset.c:1063: warning: initialization from incompatible pointer type kernel/cpuset.c:1070: warning: initialization from incompatible pointer type kernel/cpuset.c:1077: warning: initialization from incompatible pointer type LD kernel/res_group/built-in.o LD kernel/built-in.o GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 kernel/built-in.o:(__ksymtab_gpl+0x4c0): undefined reference to `get_controller_by_name' kernel/built-in.o:(__ksymtab_gpl+0x4d0): undefined reference to `get_controller_by_id' kernel/built-in.o:(__ksymtab_gpl+0x4e0): undefined reference to `put_controller' kernel/built-in.o:(__ksymtab_gpl+0x4f0): undefined reference to `alloc_res_group' kernel/built-in.o:(__ksymtab_gpl+0x500): undefined reference to `free_res_group' kernel/built-in.o:(__ksymtab_gpl+0x510): undefined reference to `default_res_group' make: *** [.tmp_vmlinux1] Error 1 ======================================================== $ gg -n _file_write kernel/res_group/res_group.c kernel/container.c kernel/res_group/rgcs.c kernel/cpuset.c kernel/res_group/res_group.c:124: ctlr->shares_cft.cft.write = res_group_file_write; kernel/res_group/res_group.c:132: ctlr->stats_cft.cft.write = res_group_file_write; kernel/container.c:156: * The container_common_file_write handler for operations that modify kernel/container.c:593:static ssize_t container_common_file_write(struct container *cont, kernel/container.c:659:static ssize_t container_file_write(struct file *file, const char __user *buf, kernel/container.c:779: .write = container_file_write, kernel/container.c:1027: .write = container_common_file_write, kernel/container.c:1035: .write = container_common_file_write, kernel/container.c:1042: .write = container_common_file_write, kernel/res_group/rgcs.c:220:ssize_t res_group_file_write(struct container *cont, kernel/cpuset.c:846:static ssize_t cpuset_common_file_write(struct container *cont, kernel/cpuset.c:1021: .write = cpuset_common_file_write, kernel/cpuset.c:1028: .write = cpuset_common_file_write, kernel/cpuset.c:1035: .write = cpuset_common_file_write, kernel/cpuset.c:1042: .write = cpuset_common_file_write, kernel/cpuset.c:1049: .write = cpuset_common_file_write, kernel/cpuset.c:1056: .write = cpuset_common_file_write, kernel/cpuset.c:1063: .write = cpuset_common_file_write, kernel/cpuset.c:1070: .write = cpuset_common_file_write, kernel/cpuset.c:1077: .write = cpuset_common_file_write, ======================================================== -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.925.600.0401 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech