mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
jump_label: Use more consistent naming
Now that there's still only a few users around, rename things to make them more consistent. Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
d580ff8699
commit
3b6e901f83
3 changed files with 9 additions and 9 deletions
|
|
@ -265,10 +265,10 @@ static void set_tracepoint(struct tracepoint_entry **entry,
|
|||
*/
|
||||
rcu_assign_pointer(elem->funcs, (*entry)->funcs);
|
||||
if (!elem->state && active) {
|
||||
enable_jump_label(&elem->state);
|
||||
jump_label_enable(&elem->state);
|
||||
elem->state = active;
|
||||
} else if (elem->state && !active) {
|
||||
disable_jump_label(&elem->state);
|
||||
jump_label_disable(&elem->state);
|
||||
elem->state = active;
|
||||
}
|
||||
}
|
||||
|
|
@ -285,7 +285,7 @@ static void disable_tracepoint(struct tracepoint *elem)
|
|||
elem->unregfunc();
|
||||
|
||||
if (elem->state) {
|
||||
disable_jump_label(&elem->state);
|
||||
jump_label_disable(&elem->state);
|
||||
elem->state = 0;
|
||||
}
|
||||
rcu_assign_pointer(elem->funcs, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue