]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-linux-workqueue-prereq-20070104
authorDerrick Brashear <shadow@dementia.org>
Thu, 4 Jan 2007 21:43:54 +0000 (21:43 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 4 Jan 2007 21:43:54 +0000 (21:43 +0000)
FIXES 49890

make the workqueue configure test actually work on 2.4

(cherry picked from commit 48afec37ed565be0d6c0273286b4bed827c8efca)

src/cf/linux-test4.m4

index 49ca0ee21fd28f15570991d7c2372aa5b916f354..7aa7bb994e76e124d3bd9ea471ed3eb7278f3294 100644 (file)
@@ -747,7 +747,8 @@ AC_DEFUN([LINUX_INIT_WORK_HAS_DATA], [
   AC_MSG_CHECKING([whether INIT_WORK has a _data argument])
   AC_CACHE_VAL([ac_cv_linux_init_work_has_data], [
     AC_TRY_KBUILD(
-[#include <linux/workqueue.h>],
+[#include <linux/kernel.h>
+#include <linux/workqueue.h>],
 [ 
 void f(struct work_struct *w) {}
 struct work_struct *w;