summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf561/include/mach/smp.h
blob: 70cafb9c334d2293e54341c2dade6e11337aa12b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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(/*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 */
OpenPOWER on IntegriCloud