On 29/09/13 07:13, Thomas Taylor wrote:
It has been many years since I had to patch a kernel and need to have a location for the requisite documentation.
I have obtained "kernel_v3.11.patch" but in searching the SUSE documentation have not found the official procedure to apply this patch. Would someone please supply an URL or location where that patch application is provided?
Thanks, Tom
Are you sure that patch is a kernel patch? The title seems to suggest it's a patch for the NVidia proprietary drivers and it would depend on which driver you need to patch. For the 325.15 driver package. "sh NVIDIA-Linux-x86_64-325.15.run --apply-patch kernel_3.11.patch" There are a couple of patches with that name, this is the shortest of them. # less kernel_v3.11.patch --- a/kernel/nv-linux.h +++ b/kernel/nv-linux.h @@ -957,7 +957,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() Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org