sim: m32r: fix iterator typo when setting up cpus
authorMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 05:48:30 +0000 (00:48 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 07:10:46 +0000 (02:10 -0500)
commit21a0fa89d25d2d12c3d1c3a477e8f49efff430df
tree6099423ce7b4ecdabeee82b42c240311405cf99c
parent8290c8b5dd38636b2448a53f3de4555b7acad3a7
sim: m32r: fix iterator typo when setting up cpus

This code loops over available cpus with "c", but then looks up the
cpu with "i".  Fix the typo so the code works correctly with smp.
sim/m32r/sim-if.c