linux-workqueue-prereq-20070104

FIXES 49890

make the workqueue configure test actually work on 2.4
This commit is contained in:
Derrick Brashear 2007-01-04 21:42:24 +00:00
parent 1a5628981e
commit 48afec37ed

View 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;