Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 590074 Details for
Bug 693704
x11-drivers/nvidia-drivers-340.107-r1 patches for recent kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Kernel 5.3 build fix
nvidia-linux-5.3.patch (text/plain), 1.90 KB, created by
Stephen Mollett
on 2019-09-17 12:44:37 UTC
(
hide
)
Description:
Kernel 5.3 build fix
Filename:
MIME Type:
Creator:
Stephen Mollett
Created:
2019-09-17 12:44:37 UTC
Size:
1.90 KB
patch
obsolete
>diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h >index 4043bf1..62f0874 100644 >--- a/kernel/nv-linux.h >+++ b/kernel/nv-linux.h >@@ -877,12 +877,21 @@ extern void *nv_stack_t_cache; > __ret; \ > }) > #elif (NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT == 3) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) > #define NV_SMP_CALL_FUNCTION(func, info, wait) \ > ({ \ > int __ret = smp_call_function(func, info, wait); \ > __ret; \ > }) > #else >+#define NV_SMP_CALL_FUNCTION(func, info, wait) \ >+ ({ \ >+ int __ret = 0; \ >+ smp_call_function(func, info, wait); \ >+ __ret; \ >+ }) >+#endif >+#else > #error "NV_SMP_CALL_FUNCTION_ARGUMENT_COUNT value unrecognized!" > #endif > #elif defined(CONFIG_SMP) >@@ -897,12 +906,21 @@ extern void *nv_stack_t_cache; > __ret; \ > }) > #elif (NV_ON_EACH_CPU_ARGUMENT_COUNT == 3) >+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) > #define NV_ON_EACH_CPU(func, info, wait) \ > ({ \ > int __ret = on_each_cpu(func, info, wait); \ > __ret; \ > }) > #else >+#define NV_ON_EACH_CPU(func, info, wait) \ >+ ({ \ >+ int __ret = 0; \ >+ on_each_cpu(func, info, wait); \ >+ __ret; \ >+ }) >+#endif >+#else > #error "NV_ON_EACH_CPU_ARGUMENT_COUNT value unrecognized!" > #endif > #elif defined(CONFIG_SMP)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 693704
:
589364
|
589366
|
589368
|
589370
|
589372
| 590074 |
597974
|
598862
|
643168
|
643170
|
643172