summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ep93xx/clock.c
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2010-09-09 02:54:54 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-09 20:09:43 +0400
commita73f8844e1fc54c3762555c1cf1f71774142ca91 (patch)
tree6cf860dead41a30f5fac677f0cd478efad564c8f /arch/arm/mach-ep93xx/clock.c
parent39aa3cb3e8250db9188a6f1e3fb62ffa1a717678 (diff)
downloadlinux-a73f8844e1fc54c3762555c1cf1f71774142ca91.tar.xz
lglock: make lg_lock_global() actually lock globally
lg_lock_global() currently only acquires spinlocks for online CPUs, but it's meant to lock all possible CPUs. Lglock-protected resources may be associated with removed CPUs - and, indeed, that could happen with the per-superblock open files lists. At Nick's suggestion, change for_each_online_cpu() to for_each_possible_cpu() to protect accesses to those resources. Cc: Al Viro <viro@ZenIV.linux.org.uk> Acked-by: Nick Piggin <npiggin@kernel.dk> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-ep93xx/clock.c')
0 files changed, 0 insertions, 0 deletions