15 #ifndef _ASM_TILE_SMP_H
16 #define _ASM_TILE_SMP_H
20 #include <asm/processor.h>
29 void init_per_tile_IRQs(
void);
50 #define smp_height (smp_topology.height)
51 #define smp_width (smp_topology.width)
68 #define MSG_TAG_START_CPU 1
69 #define MSG_TAG_STOP_CPU 2
70 #define MSG_TAG_CALL_FUNCTION_MANY 3
71 #define MSG_TAG_CALL_FUNCTION_SINGLE 4
90 #define smp_master_cpu 0
95 #define xy_to_cpu(x, y) 0
102 #define cpu_is_valid_lotar(cpu) cpumask_test_cpu((cpu), &cpu_lotar_map)
104 #if CHIP_HAS_CBOX_HOME_MAP()
106 extern struct cpumask hash_for_home_map;
111 #define cpu_cacheable(cpu) cpumask_test_cpu((cpu), &cpu_cacheable_map)
114 static inline int hv_lotar_to_cpu(
HV_LOTAR lotar)
126 #define cpulist_parse_crop(buf, dst) \
127 __cpulist_parse_crop((buf), (dst), NR_CPUS)
128 static inline int __cpulist_parse_crop(
const char *
buf,
struct cpumask *dstp,