[pkg-nvidia-devel] Bug#554240: New nvidia-graphics-drivers upstream version
Harald Dunkel
harald.dunkel at t-online.de
Sun Nov 15 15:12:19 UTC 2009
Probably it would be helpful to append this to conftest.h:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 2
#else
#define NV_INIT_WORK_PRESENT
#define NV_INIT_WORK_ARGUMENT_COUNT 3
#endif
I checked the old kernel versions between 2.6.1 and today to verify:
% grep INIT_WORK */include/linux/workqueue.h | grep define
linux-2.6.1/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.10/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.11/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.12/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.13/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.14/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.15/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.16/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.17/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.18/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.19/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.2/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.20/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.20/include/linux/workqueue.h:#define INIT_WORK_NAR(_work, _func) \
linux-2.6.21/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.21/include/linux/workqueue.h:#define INIT_WORK_NAR(_work, _func) \
linux-2.6.22/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.23/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.24/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.24/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.25/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.25/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.26/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.26/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.27/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.27/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.28/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.28/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.29/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.29/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.3/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.30/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.30/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.31.6/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.31.6/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.31/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.31/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.32-rc7/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.32-rc7/include/linux/workqueue.h:#define INIT_WORK(_work, _func) \
linux-2.6.4/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.5/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.6/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.7/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.8/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
linux-2.6.9/include/linux/workqueue.h:#define INIT_WORK(_work, _func, _data) \
Hope this helps. Regards
Harri
More information about the Pkg-nvidia-devel
mailing list