Here is a workaround to force nvidia compilation with a new kernel:
-first be sure to get both 2 kernel headers & both 2 kernel images installed
- then inside /usr/src/nvidia ... /
Change f_dentry to f_path.dentry in nv.c and nv-frontend.c files.
And change MODULE_LICENSE("NVIDIA"); to MODULE_LICENSE("GPL"); in the same files.
- when the changes are made and saved, then reinstall the 4 kernel files: you should no more see compilation errors, and get a smooth boot with that kernel.
Here is a workaround to force nvidia compilation with a new kernel:
-first be sure to get both 2 kernel headers & both 2 kernel images installed
- then inside /usr/src/nvidia ... /
Change f_dentry to f_path.dentry in nv.c and nv-frontend.c files. LICENSE( "NVIDIA" ); to MODULE_ LICENSE( "GPL"); in the same files.
And change MODULE_
- when the changes are made and saved, then reinstall the 4 kernel files: you should no more see compilation errors, and get a smooth boot with that kernel.