From 57f0f512b273f60d52568b8c6b77e17f5636edc0 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 5 Aug 2015 17:04:01 -0300 Subject: Initial import --- arch/blackfin/mach-bf561/include/mach/smp.h | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 arch/blackfin/mach-bf561/include/mach/smp.h (limited to 'arch/blackfin/mach-bf561/include/mach/smp.h') diff --git a/arch/blackfin/mach-bf561/include/mach/smp.h b/arch/blackfin/mach-bf561/include/mach/smp.h new file mode 100644 index 000000000..346c60589 --- /dev/null +++ b/arch/blackfin/mach-bf561/include/mach/smp.h @@ -0,0 +1,32 @@ +/* + * 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(int irq, /*irq_handler_t*/ void *handler); + +void platform_send_ipi(cpumask_t callmap, int irq); + +void platform_send_ipi_cpu(unsigned int cpu, int irq); + +void platform_clear_ipi(unsigned int cpu, int irq); + +void bfin_local_timer_setup(void); + +#endif /* !_MACH_BF561_SMP */ -- cgit v1.2.3-54-g00ecf