Merge branch 'topic/asoc' into next/asoc
[pandora-kernel.git] / arch / blackfin / include / asm / percpu.h
1 #ifndef __ARCH_BLACKFIN_PERCPU__
2 #define __ARCH_BLACKFIN_PERCPU__
3
4 #include <asm-generic/percpu.h>
5
6 #ifdef CONFIG_MODULES
7 #define PERCPU_MODULE_RESERVE 8192
8 #else
9 #define PERCPU_MODULE_RESERVE 0
10 #endif
11
12 #define PERCPU_ENOUGH_ROOM \
13         (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \
14          PERCPU_MODULE_RESERVE)
15
16 #endif  /* __ARCH_BLACKFIN_PERCPU__ */