Full support for Ginger Console
[linux-ginger.git] / arch / blackfin / include / asm / smp.h
blob6a0fe94b84a62a5aaa7ee22ec810812c3b8f170d
1 /*
2 * Copyright 2007-2009 Analog Devices Inc.
3 * Philippe Gerum <rpm@xenomai.org>
5 * Licensed under the GPL-2 or later.
6 */
8 #ifndef __ASM_BLACKFIN_SMP_H
9 #define __ASM_BLACKFIN_SMP_H
11 #include <linux/kernel.h>
12 #include <linux/threads.h>
13 #include <linux/cpumask.h>
14 #include <linux/cache.h>
15 #include <asm/blackfin.h>
16 #include <mach/smp.h>
18 #define raw_smp_processor_id() blackfin_core_id()
20 extern char coreb_trampoline_start, coreb_trampoline_end;
22 struct corelock_slot {
23 int lock;
26 void smp_icache_flush_range_others(unsigned long start,
27 unsigned long end);
29 #endif /* !__ASM_BLACKFIN_SMP_H */