Thanks for the patch, It will come in handy. I had already manually made those changes though as I wanted to tryout the realtime-preempt patches and have nvidia too.
So far, I like the realtime-preempt.
i am using a planet-ccrma version of this kernel (for audio production), and am unable to build any of the nvidia drivers (well, i think it builds the module, but says it is "unable to load module nvidia.ko" or something).
is the only way to address this issue by rebuilding the kernel, or are there patched nvidia drivers that might deal with it?