From: John L. <mov...@us...> - 2001-08-11 12:38:00
|
Update of /cvsroot/oprofile/oprofile In directory usw-pr-cvs1:/tmp/cvs-serv14353 Modified Files: ChangeLog oprofile.h Log Message: 2.4.8 still has up_and_exit Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile/ChangeLog,v retrieving revision 1.74 retrieving revision 1.75 diff -u -d -r1.74 -r1.75 --- ChangeLog 2001/08/11 02:00:05 1.74 +++ ChangeLog 2001/08/11 12:37:56 1.75 @@ -1,5 +1,10 @@ 2001-08-11 John Levon <mo...@co...> + * oprofile.h: 2.4.8 doesn't either. *sigh*. looks like we need + some autoconfery :( + +2001-08-11 John Levon <mo...@co...> + * oprofile.h: 2.4.7-linus doesn't include the Andrew Morton complete_and_exit(). Hopefully this will make it into 2.4.8, I'm banking on this. Index: oprofile.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/oprofile.h,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- oprofile.h 2001/08/11 02:00:05 1.44 +++ oprofile.h 2001/08/11 12:37:56 1.45 @@ -173,8 +173,8 @@ #define release_mmap_sem(mm) up_read(&mm->mmap_sem) #endif -// 2.4.7 introduced completions. -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,8) +// 2.4.9 introduced complete_and_exit +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,9) #define DECLARE_COMPLETION(x) DECLARE_MUTEX_LOCKED(x) #define init_completion(x) #define complete_and_exit(x, y) up_and_exit((x), (y)) |