summarylogtreecommitdiffstats
path: root/kernel-5.7.patch
diff options
context:
space:
mode:
authorSolomon Choina2020-12-09 07:33:09 -0500
committerSolomon Choina2020-12-09 07:33:09 -0500
commitb96ba0c648db13b333eae2c1ed2f755a6a4126cf (patch)
tree5ab40f05beee48d89238c54db55fc30dd96099dc /kernel-5.7.patch
parent951435acc6b0403dd59730c1b3e4f5b3ebcd18dd (diff)
downloadaur-b96ba0c648db13b333eae2c1ed2f755a6a4126cf.tar.gz
adding patch and whatever
Diffstat (limited to 'kernel-5.7.patch')
-rw-r--r--kernel-5.7.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel-5.7.patch b/kernel-5.7.patch
new file mode 100644
index 000000000000..d7c58e10d7f0
--- /dev/null
+++ b/kernel-5.7.patch
@@ -0,0 +1,20 @@
+--- a/kernel/conftest.sh
++++ b/kernel/conftest.sh
+@@ -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"
++ FILES="$FILES asm/pgtable.h"
+ FILES="$FILES asm/prom.h"
+ FILES="$FILES asm/powernv.h"
+ FILES="$FILES asm/tlbflush.h"
+@@ -471,6 +472,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)
+ #if defined(NV_ASM_PGTABLE_TYPES_H_PRESENT)
+ #include <asm/pgtable_types.h>