topology.h 579 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _ASM_S390_TOPOLOGY_H
  2. #define _ASM_S390_TOPOLOGY_H
  3. #include <linux/cpumask.h>
  4. #define mc_capable() (1)
  5. cpumask_t cpu_coregroup_map(unsigned int cpu);
  6. int topology_set_cpu_management(int fc);
  7. void topology_schedule_update(void);
  8. #define POLARIZATION_UNKNWN (-1)
  9. #define POLARIZATION_HRZ (0)
  10. #define POLARIZATION_VL (1)
  11. #define POLARIZATION_VM (2)
  12. #define POLARIZATION_VH (3)
  13. #ifdef CONFIG_SMP
  14. void s390_init_cpu_topology(void);
  15. #else
  16. static inline void s390_init_cpu_topology(void)
  17. {
  18. };
  19. #endif
  20. #include <asm-generic/topology.h>
  21. #endif /* _ASM_S390_TOPOLOGY_H */