qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] target-arm: use type_register() instead of type


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] target-arm: use type_register() instead of type_register_static()
Date: Tue, 4 Dec 2012 17:16:28 +0000

On 28 November 2012 19:20, Eduardo Habkost <address@hidden> wrote:
> 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 <address@hidden>

Thanks, applied to target-arm.next.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]