From 81d4b14f7e7e4492d99af96c42be7fd8b26eb4d7 Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Sun, 12 Jul 2020 01:46:18 +0200 Subject: mips: sync asm/mipsregs.h with Linux 5.7 Sync asm/mipsregs.h with Linux 5.7. Also replace the custom symbols EBASE_CPUNUM and EBASE_WG with the according symbols from Linux. Signed-off-by: Daniel Schwierzeck Reviewed-by: Stefan Roese Tested-by: Stefan Roese --- arch/mips/lib/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips/lib') diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c index 6ff9d20bd61..df8b63f383b 100644 --- a/arch/mips/lib/traps.c +++ b/arch/mips/lib/traps.c @@ -110,7 +110,7 @@ void trap_init(ulong reloc_addr) /* Set WG bit on Octeon to enable writing to bits 63:30 */ if (IS_ENABLED(CONFIG_ARCH_OCTEON)) - ebase |= EBASE_WG; + ebase |= MIPS_EBASE_WG; write_c0_ebase(ebase); clear_c0_status(ST0_BEV); -- cgit