Sophie

Sophie

distrib > Mageia > 7 > i586 > media > nonfree-updates-src > by-pkgid > f7fefac0209ecddb746e05d0b00664d8 > files > 4

nvidia-current-430.64-11.mga7.nonfree.src.rpm

diff -up NVIDIA-Linux-x86_64-430.64/kernel/conftest.sh.kernel57 NVIDIA-Linux-x86_64-430.64/kernel/conftest.sh
--- NVIDIA-Linux-x86_64-430.64/kernel/conftest.sh.kernel57	2020-06-27 16:48:44.762974514 +0200
+++ NVIDIA-Linux-x86_64-430.64/kernel/conftest.sh	2020-06-27 16:52:36.719560572 +0200
@@ -131,6 +131,7 @@ test_headers() {
     # Arch specific headers which need testing
     FILES_ARCH="asm/book3s/64/hash-64k.h"
     FILES_ARCH="$FILES_ARCH asm/set_memory.h"
+    FILES_ARCH="$FILES_ARCH asm/pgtable.h"
     FILES_ARCH="$FILES_ARCH asm/prom.h"
     FILES_ARCH="$FILES_ARCH asm/powernv.h"
     FILES_ARCH="$FILES_ARCH asm/tlbflush.h"
@@ -451,6 +452,9 @@ compile_test() {
             # It does not exist on all architectures.
             #
             CODE="
+            #if defined(NV_ASM_PGTABLE_H_PRESENT)
+            #include <asm/pgtable.h>
+            #endif
             #if defined(NV_ASM_SET_MEMORY_H_PRESENT)
             #include <asm/set_memory.h>
             #else