[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] target/ppc: Drop PowerPCCPUClass::interrupts_big_endian(
From: |
David Gibson |
Subject: |
Re: [PATCH 0/2] target/ppc: Drop PowerPCCPUClass::interrupts_big_endian() |
Date: |
Thu, 24 Jun 2021 11:25:43 +1000 |
On Tue, Jun 22, 2021 at 04:09:24PM +0200, Greg Kurz wrote:
> Class method is overkill and cause code duplication in CPU setup functions.
> Switch to a more lightweight solution with a unique inline helper.
LGTM, applied to ppc-for-6.1, thanks.
>
> Greg Kurz (2):
> target/ppc: Introduce ppc_interrupts_little_endian()
> target/ppc: Drop PowerPCCPUClass::interrupts_big_endian()
>
> target/ppc/cpu-qom.h | 1 -
> target/ppc/cpu.h | 15 +++++++++++++++
> target/ppc/arch_dump.c | 8 +++-----
> target/ppc/cpu_init.c | 17 -----------------
> target/ppc/excp_helper.c | 3 +--
> 5 files changed, 19 insertions(+), 25 deletions(-)
>
--
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