2020-04-16 17:04:05 +00:00
|
|
|
diff --git a/kernel-dkms/conftest.sh b/kernel-dkms/conftest.sh
|
2020-04-16 14:02:38 +00:00
|
|
|
index 8f807a1..af29636 100755
|
2020-04-16 17:04:05 +00:00
|
|
|
--- a/kernel-dkms/conftest.sh
|
|
|
|
+++ b/kernel-dkms/conftest.sh
|
2020-04-16 14:02:38 +00:00
|
|
|
@@ -143,6 +143,7 @@ test_headers() {
|
|
|
|
FILES="$FILES video/nv_internal.h"
|
|
|
|
FILES="$FILES asm/book3s/64/hash-64k.h"
|
|
|
|
FILES="$FILES asm/set_memory.h"
|
|
|
|
+ FILES="$FILES asm/pgtable.h"
|
|
|
|
FILES="$FILES asm/prom.h"
|
|
|
|
FILES="$FILES asm/powernv.h"
|
|
|
|
FILES="$FILES asm/tlbflush.h"
|
|
|
|
@@ -466,6 +467,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
|