We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe65deb commit cd27ccfCopy full SHA for cd27ccf
include/linux/jump_label.h
@@ -82,10 +82,9 @@ extern bool static_key_initialized;
82
"%s(): static key '%pS' used before call to jump_label_init()", \
83
__func__, (key))
84
85
-#ifdef CONFIG_JUMP_LABEL
86
-
87
struct static_key {
88
atomic_t enabled;
+#ifdef CONFIG_JUMP_LABEL
89
/*
90
* Note:
91
* To make anonymous unions work with old compilers, the static
@@ -104,13 +103,9 @@ struct static_key {
104
103
struct jump_entry *entries;
105
struct static_key_mod *next;
106
};
+#endif /* CONFIG_JUMP_LABEL */
107
108
109
-#else
110
-struct static_key {
111
- atomic_t enabled;
112
-};
113
-#endif /* CONFIG_JUMP_LABEL */
114
#endif /* __ASSEMBLY__ */
115
116
#ifdef CONFIG_JUMP_LABEL
0 commit comments