Message ID | 20240216174227.409400-3-gregory.clement@bootlin.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 3391b95cf6a0b5b70904857dcc415b832f81866a |
Headers | show |
Series | Add support for the Mobileye EyeQ5 SoC | expand |
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index c3cc6fff9d80a..075bb08543eca 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -2293,7 +2293,7 @@ static const char panic_null_cerr[] = void set_uncached_handler(unsigned long offset, void *addr, unsigned long size) { - unsigned long uncached_ebase = CKSEG1ADDR(ebase); + unsigned long uncached_ebase = CKSEG1ADDR_OR_64BIT(__pa(ebase)); if (!addr) panic(panic_null_cerr);