[pkg-nvidia-devel] Bug#523727: fixed for me
Avery Fay
avery at shadypixel.com
Tue Apr 14 01:53:56 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20090413/84812937/attachment.pgp>
More information about the Pkg-nvidia-devel
mailing list