From 514f68b5dd8f84a4b6f215a0808ba1aef9568366 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Mon, 13 Apr 2020 01:24:35 +0100 Subject: [PATCH] fix build with 5.7-rc1 legacy variant of: https://gitlab.com/snippets/1965550 credit: Isaak I. Aleksandrov --- kernel/conftest.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/conftest.sh b/kernel/conftest.sh index 83700ad..5a0ce4d 100755 --- a/kernel/conftest.sh +++ b/kernel/conftest.sh @@ -177,6 +177,7 @@ test_headers() { FILES="$FILES linux/file.h" FILES_ARCH="$FILES_ARCH asm/set_memory.h" + FILES_ARCH="$FILES_ARCH asm/pgtable.h" translate_and_find_header_files $HEADERS $FILES translate_and_find_header_files $HEADERS_ARCH $FILES_ARCH @@ -440,6 +441,9 @@ compile_test() { # Determine if the set_memory_array_uc() function is present. # CODE=" + #if defined(NV_ASM_PGTABLE_H_PRESENT) + #include + #endif #if defined(NV_ASM_SET_MEMORY_H_PRESENT) #include #else -- 2.20.1