Merge branch 'parisc-3.16-5' of git://git.kernel.org/pub/scm/linux/kernel/git/deller...
[deliverable/linux.git] / arch / sparc / kernel / cpumap.h
CommitLineData
280ff974
HP
1#ifndef _CPUMAP_H
2#define _CPUMAP_H
3
4#ifdef CONFIG_SMP
2e74a74f
SR
5void cpu_map_rebuild(void);
6int map_to_cpu(unsigned int index);
280ff974
HP
7#define cpu_map_init() cpu_map_rebuild()
8#else
9#define cpu_map_init() do {} while (0)
10static inline int map_to_cpu(unsigned int index)
11{
12 return raw_smp_processor_id();
13}
14#endif
15
16#endif
This page took 0.373466 seconds and 5 git commands to generate.