qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/2] ppc: remove all unused CPU definitions


From: Thomas Huth
Subject: Re: [Qemu-devel] [PATCH 2/2] ppc: remove all unused CPU definitions
Date: Wed, 20 Sep 2017 20:52:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 19.09.2017 23:36, John Snow wrote:
> Remove *all* unused CPU definitions as indicated by compile-time
> `#if 0` constructs.
> 
> Signed-off-by: John Snow <address@hidden>
> ---
>  target/ppc/cpu-models.h | 223 
> ------------------------------------------------
>  1 file changed, 223 deletions(-)
> 
> diff --git a/target/ppc/cpu-models.h b/target/ppc/cpu-models.h
> index b34b512..248f833 100644
> --- a/target/ppc/cpu-models.h
> +++ b/target/ppc/cpu-models.h
[...]
> @@ -234,24 +105,11 @@ enum {
>      CPU_POWERPC_440GXb             = 0x51B21851,
>      CPU_POWERPC_440GXc             = 0x51B21892,
>      CPU_POWERPC_440GXf             = 0x51B21894,
> -#if 0
> -    CPU_POWERPC_440S               = xxx,
> -#endif
>      CPU_POWERPC_440SP              = 0x53221850,
>      CPU_POWERPC_440SP2             = 0x53221891,
>      CPU_POWERPC_440SPE             = 0x53421890,
>      /* PowerPC 460 family */
> -#if 0
> -    /* Generic PowerPC 464 */
> -#define CPU_POWERPC_464              CPU_POWERPC_464H90
> -#endif
>      /* PowerPC 464 microcontrolers */
> -#if 0
> -    CPU_POWERPC_464H90             = xxx,
> -#endif
> -#if 0
> -    CPU_POWERPC_464H90FP           = xxx,
> -#endif

I think you could also remove the "/* PowerPC 460 family */" and "/*
PowerPC 464 microcontrolers */" lines now.

Anyway:

Reviewed-by: Thomas Huth <address@hidden>



reply via email to

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