qemu-e2k/target-arm
Eduardo Habkost 918fd0839e 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>
2013-01-11 15:21:22 +00:00
..
arm-semi.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
cpu-qom.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00
cpu.c target-arm: use type_register() instead of type_register_static() 2013-01-11 15:21:22 +00:00
cpu.h fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
helper.c Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu 2012-12-23 00:40:49 +01:00
helper.h exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
iwmmxt_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
machine.c
Makefile.objs
neon_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
op_addsub.h
op_helper.c exec: move include files to include/exec/ 2012-12-19 08:31:31 +01:00
translate.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00