summaryrefslogtreecommitdiff
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-07-12 02:46:18 +0300
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2020-07-18 15:23:25 +0300
commit81d4b14f7e7e4492d99af96c42be7fd8b26eb4d7 (patch)
tree1008e677ab18f04afa4281bc26aa1ec2b792ba1c /arch/mips/lib
parentc0f99579faeb9d6a14609d4855a1d6888a10e6f4 (diff)
downloadu-boot-81d4b14f7e7e4492d99af96c42be7fd8b26eb4d7.tar.xz
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 <daniel.schwierzeck@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/mips/lib')
-rw-r--r--arch/mips/lib/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c
index 6ff9d20bd6..df8b63f383 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);