aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_schizo.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-03-06 19:59:50 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:14:20 -0800
commita77754b4d0731321db266c6c60ffcd7c62757da5 (patch)
tree37cc4c6793e2b616791d42ee840e5a007a13eccb /arch/sparc64/kernel/pci_schizo.c
parent[SPARC64]: kzalloc() conversion (diff)
downloadlinux-dev-a77754b4d0731321db266c6c60ffcd7c62757da5.tar.xz
linux-dev-a77754b4d0731321db266c6c60ffcd7c62757da5.zip
[SPARC64]: Bulletproof MMU context locking.
1) Always spin_lock_init() in init_context(). The caller essentially clears it out, or copies the mm info from the parent. In both cases we need to explicitly initialize the spinlock. 2) Always do explicit IRQ disabling while taking mm->context.lock and ctx_alloc_lock. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_schizo.c')
0 files changed, 0 insertions, 0 deletions