arch: arc: fix jump instruction and remove unused codes
Signed-off-by: Jingru <jingru@synopsys.com>
This commit is contained in:
@@ -127,7 +127,11 @@ start_r:
|
||||
pop r2
|
||||
pop r0
|
||||
|
||||
#if defined(__MW__)
|
||||
j_s.d [r1]
|
||||
#else
|
||||
j [r1]
|
||||
#endif
|
||||
kflag r2
|
||||
|
||||
/****** exceptions and interrupts handing ******/
|
||||
|
@@ -94,7 +94,7 @@ __KNL__ void cpu_reset(void)
|
||||
port_cpu_reset();
|
||||
}
|
||||
|
||||
__KNL__ void cpu_sched_start(void) // 启动任务调度器
|
||||
__KNL__ void cpu_sched_start(void)
|
||||
{
|
||||
port_sched_start();
|
||||
}
|
||||
|
Reference in New Issue
Block a user