sim: cpu: fix SMP msg prefix helper
authorMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 04:43:18 +0000 (23:43 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 07:09:17 +0000 (02:09 -0500)
commitfb749760444f6570fa03bc91aa36024b7e4b4e55
tree4681995a26b927d89199fc2df5070872f5ed8155
parent23ddbd2f2bfc6ab17afb805a70f145ee7af524ea
sim: cpu: fix SMP msg prefix helper

This code fails to compile when SMP is enabled due to some obvious
errors.  Fix those and change the logic to avoid CPP to prevent any
future rot from creeping back in.
sim/common/sim-utils.c