]> git.proxmox.com Git - qemu.git/commit
target-m68k: Use type_register() instead of type_register_static()
authorAndreas Färber <afaerber@suse.de>
Sun, 27 Jan 2013 18:31:00 +0000 (19:31 +0100)
committerAndreas Färber <afaerber@suse.de>
Mon, 28 Jan 2013 15:57:56 +0000 (16:57 +0100)
commit2dddbc2123681f0cc37a891fa61d97a88d5e641c
tree78ec36adf0a4e27bf24586ef7d2de29107968b3e
parent87fb5811e631e79c24adab1f62bee01987cf1606
target-m68k: 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-m68k/cpu.c