]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/or1k/sim-if.c
sim: or1k: fix iterator typo when setting up cpus
authorMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 05:31:19 +0000 (00:31 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 07:09:18 +0000 (02:09 -0500)
commit46ebce9b9c70c85caa9e4cfb5c19340ccfec38fc
tree39ba280b008f2da2f0e6e1759c9c45983ea1c4e1
parent70b920ed097442a4b663fc0e64319382397ae46b
sim: or1k: 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/or1k/sim-if.c