mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-14 03:25:33 +07:00
![Graf Yang](/assets/img/avatar_default.png)
This function takes an irq_handler_t function, but the prototype in the header doesn't match the function definition. This is due to the smp headers needing to avoid circular dependencies. So change the function to take a simple pointer. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
33 lines
692 B
C
33 lines
692 B
C
/*
|
|
* Copyright 2007-2008 Analog Devices Inc.
|
|
*
|
|
* Licensed under the GPL-2 or later.
|
|
*/
|
|
|
|
#ifndef _MACH_BF561_SMP
|
|
#define _MACH_BF561_SMP
|
|
|
|
/* This header has to stand alone to avoid circular deps */
|
|
|
|
struct task_struct;
|
|
|
|
void platform_init_cpus(void);
|
|
|
|
void platform_prepare_cpus(unsigned int max_cpus);
|
|
|
|
int platform_boot_secondary(unsigned int cpu, struct task_struct *idle);
|
|
|
|
void platform_secondary_init(unsigned int cpu);
|
|
|
|
void platform_request_ipi(/*irq_handler_t*/ void *handler);
|
|
|
|
void platform_send_ipi(cpumask_t callmap);
|
|
|
|
void platform_send_ipi_cpu(unsigned int cpu);
|
|
|
|
void platform_clear_ipi(unsigned int cpu);
|
|
|
|
void bfin_local_timer_setup(void);
|
|
|
|
#endif /* !_MACH_BF561_SMP */
|