]> git.baikalelectronics.ru Git - kernel.git/commit
clk: abstract locking out into helper functions
authorMike Turquette <mturquette@linaro.org>
Thu, 28 Mar 2013 20:59:01 +0000 (13:59 -0700)
committerMike Turquette <mturquette@linaro.org>
Tue, 2 Apr 2013 17:23:08 +0000 (10:23 -0700)
commit6e2fcd50f97afdc3a85186e37e97e8be0b6079a7
treeea9bf078de6212572fc4a095ab22540d62326d98
parent4f9b03a1bce4b7af1324c71ab09ae27874153d42
clk: abstract locking out into helper functions

Create locking helpers for the global mutex and global spinlock.  The
definitions of these helpers will be expanded upon in the next patch
which introduces reentrancy into the locking scheme.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org>
Cc: David Brown <davidb@codeaurora.org>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/clk/clk.c