From: Derrick Brashear Date: Mon, 23 Mar 2009 15:16:59 +0000 (+0000) Subject: STABLE14-linux-task-becomes-task-struct-20090323 X-Git-Tag: openafs-stable-1_4_9pre1~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=aa84f53d3e4e3180ccb69f454c313492fb684848;p=packages%2Fo%2Fopenafs.git STABLE14-linux-task-becomes-task-struct-20090323 LICENSE IPL10 struct task->struct task_struct. configure needs to cope (cherry picked from commit 4830a7c8d79c72dcd5d8ce4bab6b8c0a8b249d96) --- diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 index 867510677..409dd0575 100644 --- a/src/cf/linux-test4.m4 +++ b/src/cf/linux-test4.m4 @@ -778,7 +778,7 @@ AC_DEFUN([LINUX_KEY_ALLOC_NEEDS_STRUCT_TASK], [ [#include #include ], -[struct task *t; +[struct task_struct *t=NULL; (void) key_alloc(NULL, NULL, 0, 0, t, 0, 0);], ac_cv_key_alloc_needs_struct_task=yes, ac_cv_key_alloc_needs_struct_task=no)