[PATCH v5 0/2] reentrancy in the common clk framework

From: Mike Turquette
Date: Thu Mar 28 2013 - 00:47:06 EST


This fifth attempt at allowing calls to the clk api to reenter splits
the last patch into two parts. The first patch abstracts out the
locking details into some helper functions and converts all of the
direct calls to the mutex and spinlock api to use these helpers.

The second patch introduces the reentrancy logic into these helper
functions. Fundamentally the reentrancy logic hasn't changed since v4,
but fixing casting bugs, removing unnecessary barriers and better design
& beautification separate this approach from the last one.

Changes tested on top of the latest clk-next branch with an OMAP4430
Panda board.

Mike Turquette (2):
clk: abstract locking out into helper functions
clk: allow reentrant calls into the clk framework

drivers/clk/clk.c | 136 ++++++++++++++++++++++++++++++++++++++---------------
1 file changed, 98 insertions(+), 38 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/