mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-18 20:57:25 +00:00
RISC-V: Provide stub of setup_profiling_timer()
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>
This commit is contained in:
parent
24948b7ec0
commit
4bde63286a
1 changed files with 7 additions and 0 deletions
|
|
@ -38,6 +38,13 @@ enum ipi_message_type {
|
||||||
IPI_MAX
|
IPI_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/* Unsupported */
|
||||||
|
int setup_profiling_timer(unsigned int multiplier)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
|
||||||
irqreturn_t handle_ipi(void)
|
irqreturn_t handle_ipi(void)
|
||||||
{
|
{
|
||||||
unsigned long *pending_ipis = &ipi_data[smp_processor_id()].bits;
|
unsigned long *pending_ipis = &ipi_data[smp_processor_id()].bits;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue