diff options
author | Graf Yang <graf.yang@analog.com> | 2009-01-07 10:14:39 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2009-01-07 10:14:39 -0500 |
commit | c51b4488cd5bff08ed5690a8f303ff7f0894da2a (patch) | |
tree | 1f6a2919e011b033ba5177efe3a612f4ebebb4b5 /arch/blackfin/mach-bf561/include/mach/smp.h | |
parent | 2de73e71c298842db814556379cbe25f5c14691e (diff) |
Blackfin arch: SMP supporting patchset: BF561 related code
Blackfin dual core BF561 processor can support SMP like features.
https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:smp-like
In this patch, we provide SMP extend to BF561 kernel code
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf561/include/mach/smp.h')
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/smp.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 000000000000..f9e65ebe81b2 --- /dev/null +++ b/arch/blackfin/mach-bf561/include/mach/smp.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef _MACH_BF561_SMP | ||
2 | #define _MACH_BF561_SMP | ||
3 | |||
4 | struct task_struct; | ||
5 | |||
6 | void platform_init_cpus(void); | ||
7 | |||
8 | void platform_prepare_cpus(unsigned int max_cpus); | ||
9 | |||
10 | int platform_boot_secondary(unsigned int cpu, struct task_struct *idle); | ||
11 | |||
12 | void platform_secondary_init(unsigned int cpu); | ||
13 | |||
14 | void platform_request_ipi(int (*handler)(int, void *)); | ||
15 | |||
16 | void platform_send_ipi(cpumask_t callmap); | ||
17 | |||
18 | void platform_send_ipi_cpu(unsigned int cpu); | ||
19 | |||
20 | void platform_clear_ipi(unsigned int cpu); | ||
21 | |||
22 | #endif /* !_MACH_BF561_SMP */ | ||