summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/smp.c
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2017-12-01 13:31:31 -0800
committerPalmer Dabbelt <palmer@sifive.com>2017-12-01 13:31:31 -0800
commit3b62de26cf5ef17340a0e986d3e53eb4f74f96d5 (patch)
tree113b70a711d11fadb6f73d459a8d942f90e5e3fd /arch/riscv/kernel/smp.c
parent185e788c84a95cb024cff98988bdeb09e619cd62 (diff)
parent741fc3ff3a49509a7092d6d9eb51da6bd7577278 (diff)
downloadlinux-stable-3b62de26cf5ef17340a0e986d3e53eb4f74f96d5.tar.gz
linux-stable-3b62de26cf5ef17340a0e986d3e53eb4f74f96d5.tar.bz2
linux-stable-3b62de26cf5ef17340a0e986d3e53eb4f74f96d5.zip
RISC-V: Fixes for clean allmodconfig build
Olaf said: Here's a short series of patches that produces a working allmodconfig. Would be nice to see them go in so we can add build coverage. I've dropped patches 8 and 10 from the original set: * [PATCH 08/10] (RISC-V: Set __ARCH_WANT_RENAMEAT to pick up generic version) has a better fix that I've sent out for review, we don't want renameat. * [PATCH 10/10] (input: joystick: riscv has get_cycles) has already been taken into Dmitry Torokhov's tree.
Diffstat (limited to 'arch/riscv/kernel/smp.c')
-rw-r--r--arch/riscv/kernel/smp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c
index 1b27ade437b4..6d3962435720 100644
--- 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;