Index: configure.ac =================================================================== RCS file: /var/local/cvs/lbnl_cr/configure.ac,v retrieving revision 1.410.2.9 diff -u -r1.410.2.9 configure.ac --- configure.ac 15 Jun 2009 22:33:56 -0000 1.410.2.9 +++ configure.ac 8 Mar 2010 19:09:38 -0000 @@ -985,7 +985,7 @@ fi # put_task_struct() requires one of these: -CR_FIND_KSYM([__put_task_struct],[CODE]) +CR_FIND_KSYM([__put_task_struct],[CODE],[extern void __put_task_struct(struct task_struct *);]) CR_FIND_KSYM([__put_task_struct_cb],[CODE]) CR_CHECK_KERNEL_MEMBER([mm.task_size],[#include ], Index: cr_module/cr_kcompat.h =================================================================== RCS file: /var/local/cvs/lbnl_cr/cr_module/cr_kcompat.h,v retrieving revision 1.247.8.2 diff -u -r1.247.8.2 cr_kcompat.h --- cr_module/cr_kcompat.h 12 Jun 2009 20:37:03 -0000 1.247.8.2 +++ cr_module/cr_kcompat.h 8 Mar 2010 19:09:38 -0000 @@ -583,4 +583,9 @@ #error "no cr_do_pipe() definition" #endif +#if !defined(DECLARE_MUTEX) + #define DECLARE_MUTEX(m) DEFINE_SEMAPHORE(m) + #define init_MUTEX(m) sema_init(m, 1) +#endif + #endif /* _CR_KCOMPAT_H */