Blame view
arch/blackfin/include/asm/smp.h
1.21 KB
6b3087c64 Blackfin arch: SM... |
1 |
/* |
96f1050d3 Blackfin: mass cl... |
2 3 |
* Copyright 2007-2009 Analog Devices Inc. * Philippe Gerum <rpm@xenomai.org> |
6b3087c64 Blackfin arch: SM... |
4 |
* |
96f1050d3 Blackfin: mass cl... |
5 |
* Licensed under the GPL-2 or later. |
6b3087c64 Blackfin arch: SM... |
6 7 8 9 10 11 12 13 14 15 16 17 18 |
*/ #ifndef __ASM_BLACKFIN_SMP_H #define __ASM_BLACKFIN_SMP_H #include <linux/kernel.h> #include <linux/threads.h> #include <linux/cpumask.h> #include <linux/cache.h> #include <asm/blackfin.h> #include <mach/smp.h> #define raw_smp_processor_id() blackfin_core_id() |
c6345ab1a Blackfin: SMP: wo... |
19 20 21 22 23 24 |
extern void bfin_relocate_coreb_l1_mem(void); #if defined(CONFIG_SMP) && defined(CONFIG_ICACHE_FLUSH_L1) asmlinkage void blackfin_icache_flush_range_l1(unsigned long *ptr); extern unsigned long blackfin_iflush_l1_entry[NR_CPUS]; #endif |
dbc895f95 Blackfin arch: sm... |
25 |
|
6b3087c64 Blackfin arch: SM... |
26 27 28 |
struct corelock_slot { int lock; }; |
60ffdb365 Blackfin: impleme... |
29 |
extern struct corelock_slot corelock; |
6b3087c64 Blackfin arch: SM... |
30 |
|
718340f62 Blackfin: rewrite... |
31 32 33 34 35 36 |
#ifdef __ARCH_SYNC_CORE_ICACHE extern unsigned long icache_invld_count[NR_CPUS]; #endif #ifdef __ARCH_SYNC_CORE_DCACHE extern unsigned long dcache_invld_count[NR_CPUS]; #endif |
6b3087c64 Blackfin arch: SM... |
37 |
void smp_icache_flush_range_others(unsigned long start, |
d0014be47 blackfin: smp: cl... |
38 |
unsigned long end); |
0b39db28b Blackfin: SMP: ad... |
39 |
#ifdef CONFIG_HOTPLUG_CPU |
6f546bc3a Blackfin: SMP: im... |
40 |
void coreb_die(void); |
0b39db28b Blackfin: SMP: ad... |
41 42 43 44 45 |
void cpu_die(void); void platform_cpu_die(void); int __cpu_disable(void); int __cpu_die(unsigned int cpu); #endif |
6b3087c64 Blackfin arch: SM... |
46 |
|
d0014be47 blackfin: smp: cl... |
47 |
void smp_timer_broadcast(const struct cpumask *mask); |
6b3087c64 Blackfin arch: SM... |
48 |
#endif /* !__ASM_BLACKFIN_SMP_H */ |