xref: /openbmc/linux/arch/parisc/include/asm/topology.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1bf7b4c1bSHelge Deller #ifndef _ASM_PARISC_TOPOLOGY_H
2bf7b4c1bSHelge Deller #define _ASM_PARISC_TOPOLOGY_H
3bf7b4c1bSHelge Deller 
4*62773112SHelge Deller #ifdef CONFIG_GENERIC_ARCH_TOPOLOGY
5bf7b4c1bSHelge Deller 
6bf7b4c1bSHelge Deller #include <linux/cpumask.h>
7*62773112SHelge Deller #include <linux/arch_topology.h>
8bf7b4c1bSHelge Deller 
9bf7b4c1bSHelge Deller #else
10bf7b4c1bSHelge Deller 
init_cpu_topology(void)11bf7b4c1bSHelge Deller static inline void init_cpu_topology(void) { }
store_cpu_topology(unsigned int cpuid)12bf7b4c1bSHelge Deller static inline void store_cpu_topology(unsigned int cpuid) { }
reset_cpu_topology(void)13*62773112SHelge Deller static inline void reset_cpu_topology(void) { }
14bf7b4c1bSHelge Deller 
15bf7b4c1bSHelge Deller #endif
16bf7b4c1bSHelge Deller 
17bf7b4c1bSHelge Deller #include <asm-generic/topology.h>
18bf7b4c1bSHelge Deller 
19bf7b4c1bSHelge Deller #endif /* _ASM_ARM_TOPOLOGY_H */
20