aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/jump_label.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-10-14 15:10:38 -0400
committerIngo Molnar <mingo@elte.hu>2010-10-18 13:58:56 -0400
commit3b6e901f839f42afb40f614418df82c08b01320a (patch)
tree04056f3347b926e9623c225acd496e39b9d1b85a /include/linux/jump_label.h
parentd580ff8699e8811a9af37e9de4dea375401bdeec (diff)
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 <a.p.zijlstra@chello.nl> LKML-Reference: <20101014203625.448565169@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/jump_label.h')
-rw-r--r--include/linux/jump_label.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/jump_label.h b/include/linux/jump_label.h
index b72cd9f92c2e..81be4962b7a1 100644
--- a/include/linux/jump_label.h
+++ b/include/linux/jump_label.h
@@ -25,10 +25,10 @@ extern void jump_label_update(unsigned long key, enum jump_label_type type);
25extern void jump_label_apply_nops(struct module *mod); 25extern void jump_label_apply_nops(struct module *mod);
26extern int jump_label_text_reserved(void *start, void *end); 26extern int jump_label_text_reserved(void *start, void *end);
27 27
28#define enable_jump_label(key) \ 28#define jump_label_enable(key) \
29 jump_label_update((unsigned long)key, JUMP_LABEL_ENABLE); 29 jump_label_update((unsigned long)key, JUMP_LABEL_ENABLE);
30 30
31#define disable_jump_label(key) \ 31#define jump_label_disable(key) \
32 jump_label_update((unsigned long)key, JUMP_LABEL_DISABLE); 32 jump_label_update((unsigned long)key, JUMP_LABEL_DISABLE);
33 33
34#else 34#else
@@ -39,12 +39,12 @@ do { \
39 goto label; \ 39 goto label; \
40} while (0) 40} while (0)
41 41
42#define enable_jump_label(cond_var) \ 42#define jump_label_enable(cond_var) \
43do { \ 43do { \
44 *(cond_var) = 1; \ 44 *(cond_var) = 1; \
45} while (0) 45} while (0)
46 46
47#define disable_jump_label(cond_var) \ 47#define jump_label_disable(cond_var) \
48do { \ 48do { \
49 *(cond_var) = 0; \ 49 *(cond_var) = 0; \
50} while (0) 50} while (0)