diff options
author | Paul Burton <paulburton@kernel.org> | 2019-11-01 22:35:49 +0100 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2019-11-01 22:36:44 +0100 |
commit | 02fce139fd14d3b0126f0a72e8c0a83b5b01f9f5 (patch) | |
tree | 20e69aae8d0acfcd7edc954e70a9d751e0b54a7e /arch/mips/fw | |
parent | MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3 (diff) | |
parent | MIPS: tlbex: Fix build_restore_pagemask KScratch restore (diff) | |
download | linux-02fce139fd14d3b0126f0a72e8c0a83b5b01f9f5.tar.xz linux-02fce139fd14d3b0126f0a72e8c0a83b5b01f9f5.zip |
Merge tag 'mips_fixes_5.4_3' into mips-next
Pull in mips-fixes primarily to gain build fixes in order to allow
better testing of mips-next.
A few MIPS fixes:
- Fix VDSO time-related function behavior for systems where we need to
fall back to syscalls, but were instead returning bogus results.
- A fix to TLB exception handlers for Cavium Octeon systems where they
would inadvertently clobber the $1/$at register.
- A build fix for bcm63xx configurations.
- Switch to using my @kernel.org email address.
Signed-off-by: Paul Burton <paulburton@kernel.org>
Diffstat (limited to 'arch/mips/fw')
-rw-r--r-- | arch/mips/fw/sni/sniprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/fw/sni/sniprom.c b/arch/mips/fw/sni/sniprom.c index 8772617b64ce..80112f2298b6 100644 --- a/arch/mips/fw/sni/sniprom.c +++ b/arch/mips/fw/sni/sniprom.c @@ -43,7 +43,7 @@ /* O32 stack has to be 8-byte aligned. */ static u64 o32_stk[4096]; -#define O32_STK &o32_stk[sizeof(o32_stk)] +#define O32_STK (&o32_stk[ARRAY_SIZE(o32_stk)]) #define __PROM_O32(fun, arg) fun arg __asm__(#fun); \ __asm__(#fun " = call_o32") |