diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-07-24 15:06:37 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-03 11:34:15 +0200 |
commit | 706249c222f68471b6f8e9e8e9b77665c404b226 (patch) | |
tree | 5e4520408570e2b0338e1f5043a289da3bef78af /sound/oss/swarm_cs4297a.c | |
parent | locking/static_keys: Add static_key_{en,dis}able() helpers (diff) | |
download | linux-706249c222f68471b6f8e9e8e9b77665c404b226.tar.xz linux-706249c222f68471b6f8e9e8e9b77665c404b226.zip |
locking/static_keys: Rework update logic
Instead of spreading the branch_default logic all over the place,
concentrate it into the one jump_label_type() function.
This does mean we need to actually increment/decrement the enabled
count _before_ calling the update path, otherwise jump_label_type()
will not see the right state.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'sound/oss/swarm_cs4297a.c')
0 files changed, 0 insertions, 0 deletions