module: Move is_arm_mapping_symbol() to module_symbol.h
authorTiezhu Yang <yangtiezhu@loongson.cn>
Fri, 31 Mar 2023 09:15:52 +0000 (17:15 +0800)
committerLuis Chamberlain <mcgrof@kernel.org>
Fri, 14 Apr 2023 00:15:49 +0000 (17:15 -0700)
commit987d2e0aaa55de40938435be760aa96428470fd6
treeb052bab286905e58d71f35bd0c059b966ff7d0df
parent87e5b1e8f257023ac5c4d2b8f07716a7f3dcc8ea
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>
include/linux/module_symbol.h [new file with mode: 0644]
kernel/module/kallsyms.c
scripts/mod/modpost.c