File NVIDIA_kernel-2.6.25.diff of Package nvidia-gfx

--- nv.c.orig	2008-05-08 21:15:11.954598971 +0200
+++ nv.c	2008-05-08 21:17:08.975416417 +0200
@@ -1241,7 +1241,11 @@
                 retval = 0;
             break;
         default:
+#if defined(PAGE_KERNEL_UC_MINUS)
+            expected = pgprot_val(PAGE_KERNEL_UC_MINUS);
+#else
             expected = pgprot_val(PAGE_KERNEL_NOCACHE);
+#endif
             if ((flags & ~(_PAGE_NX | _PAGE_PWT)) == (expected & ~(_PAGE_NX | _PAGE_PWT)))
                 retval = 0;
             break;
openSUSE Build Service is sponsored by