From: Derrick Brashear Date: Mon, 23 Mar 2009 15:16:43 +0000 (+0000) Subject: DEVEL15-linux-task-becomes-task-struct-20090323 X-Git-Tag: openafs-devel-1_5_58~29 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=15288f785953da118fcc5376536ba34ce5dd7c0c;p=packages%2Fo%2Fopenafs.git DEVEL15-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 1bae59e79..3e41edfdd 100644 --- a/src/cf/linux-test4.m4 +++ b/src/cf/linux-test4.m4 @@ -787,7 +787,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)