module: Move is_arm_mapping_symbol() to module_symbol.h

In order to avoid duplicated code, move is_arm_mapping_symbol() to
include/linux/module_symbol.h, then remove is_arm_mapping_symbol()
in the other places.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
This commit is contained in:
Tiezhu Yang 2023-03-31 17:15:52 +08:00 • committed by Luis Chamberlain
commit 987d2e0aaa
3 changed files with 17 additions and 22 deletions