summarylogtreecommitdiffstats
path: root/010-nvidia-kernel-5.7.patch
diff options
context:
space:
mode:
Diffstat (limited to '010-nvidia-kernel-5.7.patch')
-rw-r--r--010-nvidia-kernel-5.7.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/010-nvidia-kernel-5.7.patch b/010-nvidia-kernel-5.7.patch
index c0600228a52e..d7c58e10d7f0 100644
--- a/010-nvidia-kernel-5.7.patch
+++ b/010-nvidia-kernel-5.7.patch
@@ -1,6 +1,6 @@
--- a/kernel/conftest.sh
+++ b/kernel/conftest.sh
-@@ -143,6 +143,7 @@ test_headers() {
+@@ -144,6 +144,7 @@ test_headers() {
FILES="$FILES video/nv_internal.h"
FILES="$FILES asm/book3s/64/hash-64k.h"
FILES="$FILES asm/set_memory.h"
@@ -8,7 +8,7 @@
FILES="$FILES asm/prom.h"
FILES="$FILES asm/powernv.h"
FILES="$FILES asm/tlbflush.h"
-@@ -466,6 +467,9 @@ compile_test() {
+@@ -471,6 +472,9 @@ compile_test() {
# It does not exist on all architectures.
#
CODE="
@@ -16,5 +16,5 @@
+ #include <asm/pgtable.h>
+ #endif
#if defined(NV_ASM_SET_MEMORY_H_PRESENT)
- #include <asm/set_memory.h>
- #else
+ #if defined(NV_ASM_PGTABLE_TYPES_H_PRESENT)
+ #include <asm/pgtable_types.h>