diff options
Diffstat (limited to 'arch/sh/include/asm/topology.h')
| -rw-r--r-- | arch/sh/include/asm/topology.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/include/asm/topology.h b/arch/sh/include/asm/topology.h index 65e7bd2f2240..37cdadd975ac 100644 --- a/arch/sh/include/asm/topology.h +++ b/arch/sh/include/asm/topology.h | |||
| @@ -40,6 +40,14 @@ | |||
| 40 | 40 | ||
| 41 | #endif | 41 | #endif |
| 42 | 42 | ||
| 43 | #define mc_capable() (1) | ||
| 44 | |||
| 45 | const struct cpumask *cpu_coregroup_mask(unsigned int cpu); | ||
| 46 | |||
| 47 | extern cpumask_t cpu_core_map[NR_CPUS]; | ||
| 48 | |||
| 49 | #define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) | ||
| 50 | |||
| 43 | #include <asm-generic/topology.h> | 51 | #include <asm-generic/topology.h> |
| 44 | 52 | ||
| 45 | #endif /* _ASM_SH_TOPOLOGY_H */ | 53 | #endif /* _ASM_SH_TOPOLOGY_H */ |
