summary refs log tree commit diff stats
path: root/qemu-char.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2013-01-11 15:21:22 +0000
committerPeter Maydell <peter.maydell@linaro.org>2013-01-11 15:21:22 +0000
commit918fd0839eeafc83bd4984364321a947d29041fe (patch)
tree1371f50f88fbf6ba24d564fa803f6add4a9db54e /qemu-char.c
parenta6308bc2224db238e72c570482717b68246a7ce0 (diff)
downloadfocaccia-qemu-918fd0839eeafc83bd4984364321a947d29041fe.tar.gz
focaccia-qemu-918fd0839eeafc83bd4984364321a947d29041fe.zip
target-arm: use type_register() instead of type_register_static()
The type_register_static() interface is documented as:

  type_register_static:
  @info: The #TypeInfo of the new type.

  @info and all of the strings it points to should exist for the life
  time that the type is registered.

But cpu_register() uses a stack variable for the 'info' argument, so it
has to use type_register() instead of type_register_static().

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions