I fixed this by doing:

--- conftest.h.old      2009-04-13 19:34:15.856105060 -0400
+++ conftest.h  2009-04-13 19:25:56.000000000 -0400
@@ -160,7 +160,7 @@
 /* Only kernels sometime before 2.4.0 don't have this function, and who */
 /* cares anymore */
 #define NV_SMP_CALL_FUNCTION_PRESENT
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)
  #define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 3
 #else
  #define NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT 4

Based on the title of this bug it should probably test for 2.6.27, but I
can't confirm that locally.

I'd point out though that the nvidia conftest.sh way of testing for
functions is way safer. This can easily break if someone is running a
kernel that includes a newer patch. It also seems like a maintenance
nightmare (but of course I'm not the one maintaining it).

Avery

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to