From: Paul Mundt Date: Wed, 13 Oct 2010 18:49:15 +0000 (+0900) Subject: sh: Fix up PMB locking. X-Git-Tag: v2.6.37-rc1~136^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7fcec93b619337feb9da829b8a9ab6ba86393bc;p=pandora-kernel.git sh: Fix up PMB locking. This first converts the PMB locking over to raw spinlocks, and secondly fixes up a nested locking issue that was triggering lockdep early on: swapper/0 is trying to acquire lock: (&pmbe->lock){......}, at: [<806be9bc>] pmb_init+0xf4/0x4dc but task is already holding lock: (&pmbe->lock){......}, at: [<806be98e>] pmb_init+0xc6/0x4dc other info that might help us debug this: 1 lock held by swapper/0: #0: (&pmbe->lock){......}, at: [<806be98e>] pmb_init+0xc6/0x4dc Signed-off-by: Paul Mundt --- Reading git-diff-tree failed