]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-openrisc: Fix typename in openrisc_cpu_class_by_name()
authorDongxue Zhang <elta.era@gmail.com>
Tue, 2 Jul 2013 09:11:55 +0000 (17:11 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 13 Aug 2013 00:01:47 +0000 (19:01 -0500)
commited448b82bdbc0545c422b4a8acd2c29259755ee3
tree77051f21088568762c014bdfaf2651067d9f6f67
parentf8cd6dfdd8baa86d59fba02dfad67a1cb0d5e235
target-openrisc: Fix typename in openrisc_cpu_class_by_name()

Commit 478032a93d908e59085c1ac56f10979942e7dc4f (target-openrisc:
Rename CPU subtypes) suffixed CPU sub-types with "-or32-cpu" but forgot
to update openrisc_cpu_class_by_name(), so that it was still looking for
the types without suffix.

Make target-openrisc running OK by adding the suffix to the model name.

This means it is no longer possible to use -cpu or1200-or32-cpu or
-cpu any-or32-cpu though.

Cc: qemu-stable@nongnu.org
Signed-off-by: Dongxue Zhang <elta.era@gmail.com>
Tested-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
(cherry picked from commit 071b3364e7995036816aa4ebf80ecfa04b1a31de)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-openrisc/cpu.c