[PATCH v3] smpfatal08: halt secondary processors if necessary
jiri at gaisler.se
Tue Apr 13 17:48:45 UTC 2021
> Just one nit, I think we still want to keep
> - (void) cpu_self;
> because the variable is unused. This suppresses unused variable warnings.
I never understood why it was there, but now I know ... :-)
smpfatal08 fails on systems where all cpus are started by the
boot-loader and thereby clobber the test output. This patch stops the
secondary cpus with a call to _CPU_Thread_Idle_body(). Tested on RISC-V
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1004 bytes
Desc: not available
More information about the devel