aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2007-05-23 10:51:25 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-25 16:58:11 +1000
commitdf211c8a478e16232ebbc16e650b19163183fcb6 (patch)
tree90972e63f445e0edad7a195a025ad3fffa9283f3 /arch/powerpc/Makefile
parent1a06e0fe96526e43bab90fbab2263b55fb3d45d1 (diff)
[POWERPC] Remove spinlock from struct cpu_purr_data
cpu_purr_data is a per-cpu array used to account for stolen time on partitioned systems. It used to be the case that cpus accessed each others' cpu_purr_data, so each entry was protected by a spinlock. However, the code was reworked ("Simplify stolen time calculation") with the result that each cpu accesses its own cpu_purr_data and not those of other cpus. This means we can get rid of the spinlock as long as we're careful to disable interrupts when accessing cpu_purr_data in process context. Signed-off-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Makefile')
0 files changed, 0 insertions, 0 deletions