projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24948b7
)
RISC-V: Provide stub of setup_profiling_timer()
author
Olof Johansson
<olof@lixom.net>
Thu, 30 Nov 2017 01:55:17 +0000
(17:55 -0800)
committer
Palmer Dabbelt
<palmer@sifive.com>
Thu, 30 Nov 2017 18:12:15 +0000
(10:12 -0800)
Fixes the following on allmodconfig build:
profile.c:(.text+0x3e4): undefined reference to `setup_profiling_timer'
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/riscv/kernel/smp.c
b/arch/riscv/kernel/smp.c
index b4a71ec5906f64089e7ec613daaade6bd3fef95a..17014c68e9fea2dc3402d23f5982215631840dd3 100644
(file)
--- a/
arch/riscv/kernel/smp.c
+++ b/
arch/riscv/kernel/smp.c
@@
-38,6
+38,13
@@
enum ipi_message_type {
IPI_MAX
};
+
+/* Unsupported */
+int setup_profiling_timer(unsigned int multiplier)
+{
+ return -EINVAL;
+}
+
irqreturn_t handle_ipi(void)
{
unsigned long *pending_ipis = &ipi_data[smp_processor_id()].bits;