diff options
Diffstat (limited to 'kernel/module.c')
-rw-r--r-- | kernel/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c index 03214bd288e9..65586ffa0c98 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -135,7 +135,7 @@ static int param_set_bool_enable_only(const char *val, | |||
135 | } | 135 | } |
136 | 136 | ||
137 | static const struct kernel_param_ops param_ops_bool_enable_only = { | 137 | static const struct kernel_param_ops param_ops_bool_enable_only = { |
138 | .flags = KERNEL_PARAM_FL_NOARG, | 138 | .flags = KERNEL_PARAM_OPS_FL_NOARG, |
139 | .set = param_set_bool_enable_only, | 139 | .set = param_set_bool_enable_only, |
140 | .get = param_get_bool, | 140 | .get = param_get_bool, |
141 | }; | 141 | }; |
@@ -3388,7 +3388,7 @@ static inline int is_arm_mapping_symbol(const char *str) | |||
3388 | { | 3388 | { |
3389 | if (str[0] == '.' && str[1] == 'L') | 3389 | if (str[0] == '.' && str[1] == 'L') |
3390 | return true; | 3390 | return true; |
3391 | return str[0] == '$' && strchr("atd", str[1]) | 3391 | return str[0] == '$' && strchr("axtd", str[1]) |
3392 | && (str[2] == '\0' || str[2] == '.'); | 3392 | && (str[2] == '\0' || str[2] == '.'); |
3393 | } | 3393 | } |
3394 | 3394 | ||