mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From b54cae6b96e4891708ee72d3c98766348c3feece Mon Sep 17 00:00:00 2001
|
|
From: MilhouseVH <milhouseVH.github@nmacleod.com>
|
|
Date: Mon, 13 Apr 2020 01:30:59 +0100
|
|
Subject: [PATCH] NVIDIA 440.82 - Kernel 5.7 Patch
|
|
|
|
Credit: Isaak I. Aleksandrov, https://gitlab.com/snippets/1965550
|
|
---
|
|
kernel/conftest.sh | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/kernel/conftest.sh b/kernel/conftest.sh
|
|
index 8f807a1..af29636 100755
|
|
--- a/kernel/conftest.sh
|
|
+++ b/kernel/conftest.sh
|
|
@@ -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
|
|
--
|
|
2.20.1
|
|
|