diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-19 12:10:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-01-19 12:10:28 -0800 |
commit | 7008ee121089b8193aea918b98850fe87d996508 (patch) | |
tree | 080a92d3b860a82e51a6e24f31e4a8f6897c9b31 /arch/riscv/include/asm/asm-prototypes.h | |
parent | 11a827294755ce3d07e14cfe257b3ec16ab56f34 (diff) | |
parent | fc585d4a5cf614727f64d86550b794bcad29d5c3 (diff) | |
download | linux-7008ee121089b8193aea918b98850fe87d996508.tar.bz2 |
Merge tag 'riscv/for-v5.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
Pull RISC-V fixes from Paul Walmsley:
"Three fixes for RISC-V:
- Don't free and reuse memory containing the code that CPUs parked at
boot reside in.
- Fix rv64 build problems for ubsan and some modules by adding
logical and arithmetic shift helpers for 128-bit values. These are
from libgcc and are similar to what's present for ARM64.
- Fix vDSO builds to clean up their own temporary files"
* tag 'riscv/for-v5.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
riscv: Less inefficient gcc tishift helpers (and export their symbols)
riscv: delete temporary files
riscv: make sure the cores stay looping in .Lsecondary_park
Diffstat (limited to 'arch/riscv/include/asm/asm-prototypes.h')
-rw-r--r-- | arch/riscv/include/asm/asm-prototypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/asm-prototypes.h b/arch/riscv/include/asm/asm-prototypes.h index dd62b691c443..27e005fca584 100644 --- a/arch/riscv/include/asm/asm-prototypes.h +++ b/arch/riscv/include/asm/asm-prototypes.h @@ -5,4 +5,8 @@ #include <linux/ftrace.h> #include <asm-generic/asm-prototypes.h> +long long __lshrti3(long long a, int b); +long long __ashrti3(long long a, int b); +long long __ashlti3(long long a, int b); + #endif /* _ASM_RISCV_PROTOTYPES_H */ |