[pkg-nvidia-devel] r620 - /packages/nvidia-graphics-drivers/trunk/conftest.h

rdonald at users.alioth.debian.org rdonald at users.alioth.debian.org
Mon Nov 16 02:27:56 UTC 2009


Author: rdonald
Date: Mon Nov 16 02:27:55 2009
New Revision: 620

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=620
Log:
fix conftest

Modified:
    packages/nvidia-graphics-drivers/trunk/conftest.h

Modified: packages/nvidia-graphics-drivers/trunk/conftest.h
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/conftest.h?rev=620&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/conftest.h (original)
+++ packages/nvidia-graphics-drivers/trunk/conftest.h Mon Nov 16 02:27:55 2009
@@ -227,3 +227,11 @@
 #else
  #undef NV_LINUX_CRED_H_PRESENT
 #endif
+
+#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




More information about the Pkg-nvidia-devel mailing list