fix build with kernel 5.7
[packages/xorg-driver-video-nvidia.git] / kernel-5.7.patch
CommitLineData
e9d80916
JP
1diff --git a/kernel/conftest.sh b/kernel/conftest.sh
2index 8f807a1..af29636 100755
3--- a/kernel/conftest.sh
4+++ b/kernel/conftest.sh
5@@ -143,6 +143,7 @@ test_headers() {
6 FILES="$FILES video/nv_internal.h"
7 FILES="$FILES asm/book3s/64/hash-64k.h"
8 FILES="$FILES asm/set_memory.h"
9+ FILES="$FILES asm/pgtable.h"
10 FILES="$FILES asm/prom.h"
11 FILES="$FILES asm/powernv.h"
12 FILES="$FILES asm/tlbflush.h"
13@@ -466,6 +467,9 @@ compile_test() {
14 # It does not exist on all architectures.
15 #
16 CODE="
17+ #if defined(NV_ASM_PGTABLE_H_PRESENT)
18+ #include <asm/pgtable.h>
19+ #endif
20 #if defined(NV_ASM_SET_MEMORY_H_PRESENT)
21 #include <asm/set_memory.h>
22 #else
This page took 0.130939 seconds and 4 git commands to generate.