]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia-legacy-390xx.git/blobdiff - kernel-5.6.patch
- fix build checks
[packages/xorg-driver-video-nvidia-legacy-390xx.git] / kernel-5.6.patch
index 0958acb9fe1a5a15c82737f3f224737d0531af33..f29a06e50b06f3425cb4daf11cef081a954dd8dd 100644 (file)
@@ -138,7 +138,7 @@ index ec9e093..463a464 100755
          ioremap_wc)
              #
              # Determine if the ioremap_wc() function is present.
-@@ -1430,6 +1446,31 @@ compile_test() {
+@@ -1430,6 +1446,29 @@ compile_test() {
              compile_check_conftest "$CODE" "NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT" "" "functions"
          ;;
  
@@ -159,12 +159,10 @@ index ec9e093..463a464 100755
 +            CODE="
 +            #include <linux/ktime.h>
 +            int conftest_ktime_get_raw_ts64(void) {
-+                struct timespec64 ts = {0};
-+
-+                ktime_get_raw_ts64(&ts);
++                ktime_get_raw_ts64();
 +            }"
 +
-+            compile_check_conftest "$CODE" "NV_KTIME_GET_RAW_TS64_PRESENT" "" "types"
++            compile_check_conftest "$CODE" "NV_KTIME_GET_RAW_TS64_PRESENT" "" "functions"
 +        ;;
 +
          efi_enabled)
This page took 0.029581 seconds and 4 git commands to generate.