Commit 92fd7f97 authored by Zheng Yejian's avatar Zheng Yejian Committed by Zheng Zengkai
Browse files

livepatch: Move 'klp_func_list' related codes out of 'arch'

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4UAQ1



--------------------------------

Move 'struct klp_func_node' into include/linux/livepatch.h,
then introduce klp_{add,del}_func_node and Move 'klp_func_list'
related codes out of 'arch' in order to reduce duplicated codes.

Preparatory only, no functional change.

Signed-off-by: default avatarZheng Yejian <zhengyejian1@huawei.com>
Reviewed-by: default avatarKuohai Xu <xukuohai@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 3ae2c76b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment