commit | 0e44a02301b081d36e686e767694a770c25160a2 | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Mon Jan 21 17:27:54 2013 +0100 |
committer | Andreas Färber <afaerber@suse.de> | Sun Jan 27 14:52:05 2013 +0100 |
tree | 31435777684a19a6244969484e4fe1fcda2a8624 | |
parent | 5900d6b2d59875c9b11e4d8cead6d9ddaa9eb787 [diff] |
target-alpha: Detect attempt to instantiate non-CPU type in cpu_init() Check in alpha_cpu_class_by_name() whether the type found is actually (a sub-type of) TYPE_ALPHA_CPU. This fixes, e.g., -cpu typhoon-pcihost asserting. Signed-off-by: Andreas Färber <afaerber@suse.de>