diff options
-rw-r--r-- | kernel/module.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/module.c b/kernel/module.c index e87fdd2fc3c2..cd9bce918cdf 100644 --- a/kernel/module.c +++ b/kernel/module.c | |||
@@ -3385,6 +3385,8 @@ static inline int within(unsigned long addr, void *start, unsigned long size) | |||
3385 | */ | 3385 | */ |
3386 | static inline int is_arm_mapping_symbol(const char *str) | 3386 | static inline int is_arm_mapping_symbol(const char *str) |
3387 | { | 3387 | { |
3388 | if (str[0] == '.' && str[1] == 'L') | ||
3389 | return true; | ||
3388 | return str[0] == '$' && strchr("atd", str[1]) | 3390 | return str[0] == '$' && strchr("atd", str[1]) |
3389 | && (str[2] == '\0' || str[2] == '.'); | 3391 | && (str[2] == '\0' || str[2] == '.'); |
3390 | } | 3392 | } |