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

2017-09-22 Thread David Gibson
On Wed, Sep 20, 2017 at 08:52:21PM +0200, Thomas Huth wrote:
> 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 
> > ---
> >  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 

Yes, I've made that extra change and applied.

-- 
David Gibson| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson


signature.asc
Description: PGP signature


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

2017-09-20 Thread Thomas Huth
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 
> ---
>  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