[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z4JeW1eQJ0qh8Svq@alpha.franken.de>
Date: Sat, 11 Jan 2025 13:04:43 +0100
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] MIPS: kernel: Rename read/write_c0_ecc to
read/writec0_errctl
On Mon, Dec 02, 2024 at 04:39:36PM +0100, Thomas Bogendoerfer wrote:
> CP0 register 26 is used as ECC register for legacy cores, but newer
> cores (MIPS32/MIPS64) use it as an ErrCtl register. Since the kernel only
> uses CP0 26 as ErrCtl register rename the access functions to the more
> fitting name.
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> ---
> arch/mips/include/asm/mipsregs.h | 4 ++--
> arch/mips/kernel/mips-mt.c | 7 +++----
> arch/mips/kernel/spram.c | 4 ----
> arch/mips/kernel/traps.c | 32 ++++++++++++++++----------------
> 4 files changed, 21 insertions(+), 26 deletions(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists