linux-task-becomes-task-struct-20090323
authorDerrick Brashear <shadow@dementia.org>
Mon, 23 Mar 2009 15:16:30 +0000 (15:16 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 23 Mar 2009 15:16:30 +0000 (15:16 +0000)
LICENSE IPL10

struct task->struct task_struct. configure needs to cope

src/cf/linux-test4.m4

index 1bae59e..3e41edf 100644 (file)
@@ -787,7 +787,7 @@ AC_DEFUN([LINUX_KEY_ALLOC_NEEDS_STRUCT_TASK], [
 [#include <linux/rwsem.h>
 #include <linux/key.h>
 ],
-[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)