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: NMike Turquette <mturquette@linaro.org> Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org> Cc: David Brown <davidb@codeaurora.org> Tested-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: NThomas Gleixner <tglx@linutronix.de> Reviewed-by: NUlf Hansson <ulf.hansson@linaro.org>
Showing
想要评论请 注册 或 登录