* Cristian Rodríguez
El 04/09/13 09:37, Basil Chupin escribió:
The (latest, released last week) nVidia driver 319.49 will not compile with the just-released kernel 3-11-0.
I was under the impression that this problem was already known about for quite some time and already fixed.
Is there a patch, please, to overcome this hassle?
BC
There you go, the attached patch will help.
Index: NVIDIA-Linux-x86_64-325.15/kernel/nv-linux.h =================================================================== --- NVIDIA-Linux-x86_64-325.15.orig/kernel/nv-linux.h +++ NVIDIA-Linux-x86_64-325.15/kernel/nv-linux.h @@ -958,7 +958,11 @@ static inline int nv_execute_on_all_cpus #endif
#if !defined(NV_VMWARE) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0) +#define NV_NUM_PHYSPAGES get_num_physpages() +#else #define NV_NUM_PHYSPAGES num_physpages +#endif #define NV_GET_CURRENT_PROCESS() current->tgid #define NV_IN_ATOMIC() in_atomic() #define NV_LOCAL_BH_DISABLE() local_bh_disable()
Applied patch and it says it was successful. Now how do I reassemble the "run" packaga or install from the expanded package. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org