]> git.proxmox.com Git - qemu.git/commit
target-unicore32: Use type_register() instead of type_register_static()
authorAndreas Färber <afaerber@suse.de>
Wed, 23 Jan 2013 11:01:00 +0000 (12:01 +0100)
committerAndreas Färber <afaerber@suse.de>
Mon, 28 Jan 2013 15:57:56 +0000 (16:57 +0100)
commit87fb5811e631e79c24adab1f62bee01987cf1606
tree9e252a883adb98d4a451ee23446d20317183eddc
parenta1ebd6ce3396954185bda6e94ada60c583f6cbea
target-unicore32: Use type_register() instead of type_register_static()

According to its documentation, type_register_static()'s TypeInfo
argument should exist for the life type of the type.
Therefore use type_register() when registering the list of CPU subtypes.

No functional change with the current implementation.

Cf. 918fd0839eeafc83bd4984364321a947d29041fe for arm.

Signed-off-by: Andreas Färber <afaerber@suse.de>
target-unicore32/cpu.c