From: Paul Walmsley Date: Sat, 26 Jan 2013 07:58:16 +0000 (-0700) Subject: ARM: OMAP2+: powerdomain/clockdomain: add a per-powerdomain spinlock X-Git-Tag: omap-for-v3.9/pm-signed^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a090284056954f382612da42ebe9f3147403ef5;p=pandora-kernel.git ARM: OMAP2+: powerdomain/clockdomain: add a per-powerdomain spinlock Add a per-powerdomain spinlock. Use that instead of the clockdomain spinlock. Add pwrdm_lock()/pwrdm_unlock() functions to allow other code to acquire or release the powerdomain spinlock without reaching directly into the struct powerdomain. Signed-off-by: Paul Walmsley Cc: Jean Pihet --- Reading git-diff-tree failed