]> git.proxmox.com Git - qemu.git/commit
target-openrisc: Use type_register() instead of type_register_static()
authorAndreas Färber <afaerber@suse.de>
Wed, 23 Jan 2013 10:10:14 +0000 (11:10 +0100)
committerAndreas Färber <afaerber@suse.de>
Mon, 28 Jan 2013 15:57:56 +0000 (16:57 +0100)
commita1ebd6ce3396954185bda6e94ada60c583f6cbea
tree7ea6048e204d83cc196ce2af5276bd600a44f83a
parent4933908ac5974252c1830d69e9493fa79c5ea606
target-openrisc: 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-openrisc/cpu.c