Originally posted by MrTheSoulz
View Post
NVIDIA Releases Major Linux Driver With New Features, EGL
Collapse
X
-
Originally posted by blackout23 View PostNewer kernels? I'm on 3.11.3 and absolutely no problem installing 331.13 here. Do you mean RC kernels?
Comment
-
-
Originally posted by MrTheSoulz View Postno i meant installing it on 3.11 without patching the driver, would be that hard to incule the patch inside the driver since its what? 2 or 3 lines of code?
and actually, it touches 1 line of code;
kernel/nv-linux.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/nv-linux.h b/kernel/nv-linux.h
index 4e5ed89..46c51ec 100644
--- a/kernel/nv-linux.h
+++ b/kernel/nv-linux.h
@@ -958,7 +958,7 @@ static inline int nv_execute_on_all_cpus(void (*func)(void *info), void *info)
#endif
#if !defined(NV_VMWARE)
-#define NV_NUM_PHYSPAGES num_physpages
+#define NV_NUM_PHYSPAGES totalram_pages
#define NV_GET_CURRENT_PROCESS() current->tgid
#define NV_IN_ATOMIC() in_atomic()
#define NV_LOCAL_BH_DISABLE() local_bh_disable()
--
1.8.3.2
Comment
-
Comment