-
Robert Love authored
This implements a get_cpu() and matching put_cpu() to safely hand out the current CPU to avoid preempt races. Andrew and I have been bitching about the need for such a method. I also went ahead and replaced an example of current explicit preempt-off with the new methods, as a case in point.
79eb6a12