Mageia Bugzilla – Attachment 11434 Details for
Bug 25890
dkms failed to build nvidia module 430.64 when upgrading to kernel 5.4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Hack to make it build
nvidia-current.fix.diff (text/plain), 978 bytes, created by
Thomas Backlund
on 2019-12-28 22:54:14 CET
(
hide
)
Description:
Hack to make it build
Filename:
MIME Type:
Creator:
Thomas Backlund
Created:
2019-12-28 22:54:14 CET
Size:
978 bytes
patch
obsolete
>--- /usr/src/nvidia-current-430.64-1.mga7.nonfree/conftest.sh >+++ /usr/src/nvidia-current-430.64-1.mga7.nonfree/conftest.sh.fix >@@ -445,24 +445,6 @@ compile_test() { > compile_check_conftest "$CODE" "NV_SET_MEMORY_UC_PRESENT" "" "functions" > ;; > >- set_memory_array_uc) >- # >- # Determine if the set_memory_array_uc() function is present. >- # It does not exist on all architectures. >- # >- CODE=" >- #if defined(NV_ASM_SET_MEMORY_H_PRESENT) >- #include <asm/set_memory.h> >- #else >- #include <asm/cacheflush.h> >- #endif >- void conftest_set_memory_array_uc(void) { >- set_memory_array_uc(); >- }" >- >- compile_check_conftest "$CODE" "NV_SET_MEMORY_ARRAY_UC_PRESENT" "" "functions" >- ;; >- > list_is_first) > # > # Determine if the list_is_first() function is present.
--- /usr/src/nvidia-current-430.64-1.mga7.nonfree/conftest.sh +++ /usr/src/nvidia-current-430.64-1.mga7.nonfree/conftest.sh.fix @@ -445,24 +445,6 @@ compile_test() { compile_check_conftest "$CODE" "NV_SET_MEMORY_UC_PRESENT" "" "functions" ;; - set_memory_array_uc) - # - # Determine if the set_memory_array_uc() function is present. - # It does not exist on all architectures. - # - CODE=" - #if defined(NV_ASM_SET_MEMORY_H_PRESENT) - #include <asm/set_memory.h> - #else - #include <asm/cacheflush.h> - #endif - void conftest_set_memory_array_uc(void) { - set_memory_array_uc(); - }" - - compile_check_conftest "$CODE" "NV_SET_MEMORY_ARRAY_UC_PRESENT" "" "functions" - ;; - list_is_first) # # Determine if the list_is_first() function is present.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 25890
: 11434