From 75f7cd80d5e678d345336af60252d10f9ec53e45 Mon Sep 17 00:00:00 2001 From: Gu Zitao Date: Tue, 22 Feb 2022 22:13:01 +0800 Subject: [PATCH] sw64: kgdb: add support for sw64 Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4SPZD CVE: NA ------------------------------- Signed-off-by: Gu Zitao #openEuler_contributor Signed-off-by: Laibin Qiu Reviewed-by: Hanjun Guo Signed-off-by: Zheng Zengkai --- drivers/misc/kgdbts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/kgdbts.c b/drivers/misc/kgdbts.c index 49489153cd16..f76468436715 100644 --- a/drivers/misc/kgdbts.c +++ b/drivers/misc/kgdbts.c @@ -129,7 +129,8 @@ static int hw_break_val2; static int cont_instead_of_sstep; static unsigned long cont_thread_id; static unsigned long sstep_thread_id; -#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || defined(CONFIG_SPARC) +#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || defined(CONFIG_SPARC) \ + || defined(CONFIG_SW64) static int arch_needs_sstep_emulation = 1; #else static int arch_needs_sstep_emulation; -- GitLab