提交 6fe391e5 编写于 作者: L Lijun Fang 提交者: Laibin Qiu

svm: Delete unused function sysrq_sched_debug_show_export

ascend inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4UR5Y
CVE: NA

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

Delete unused function sysrq_sched_debug_show_export
Signed-off-by: NLijun Fang <fanglijun3@huawei.com>
Reviewed-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NYongqiang Liu <liuyongqiang13@huawei.com>
上级 fd64ea2e
......@@ -163,8 +163,6 @@ static char *svm_cmd_to_string(unsigned int cmd)
return NULL;
}
extern void sysrq_sched_debug_tidy(void);
/*
* image word of slot
* SVM_IMAGE_WORD_INIT: initial value, indicating that the slot is not used.
......@@ -423,17 +421,6 @@ static int svm_va2pa_trunk_init(struct device *dev)
return 0;
}
void sysrq_sched_debug_show_export(void)
{
#ifdef CONFIG_SCHED_DEBUG
sysrq_sched_debug_tidy();
#else
pr_err("Not open CONFIG_SCHED_DEBUG\n");
#endif
panic("pcie heart miss\n");
}
EXPORT_SYMBOL(sysrq_sched_debug_show_export);
static struct svm_process *find_svm_process(unsigned long asid)
{
struct rb_node *node = svm_process_root.rb_node;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册