topology.h 802 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef _ASM_SH_TOPOLOGY_H
  2. #define _ASM_SH_TOPOLOGY_H
  3. #ifdef CONFIG_NUMA
  4. /* sched_domains SD_NODE_INIT for sh machines */
  5. #define SD_NODE_INIT (struct sched_domain) { \
  6. .span = CPU_MASK_NONE, \
  7. .parent = NULL, \
  8. .child = NULL, \
  9. .groups = NULL, \
  10. .min_interval = 8, \
  11. .max_interval = 32, \
  12. .busy_factor = 32, \
  13. .imbalance_pct = 125, \
  14. .cache_nice_tries = 2, \
  15. .busy_idx = 3, \
  16. .idle_idx = 2, \
  17. .newidle_idx = 0, \
  18. .wake_idx = 1, \
  19. .forkexec_idx = 1, \
  20. .flags = SD_LOAD_BALANCE \
  21. | SD_BALANCE_FORK \
  22. | SD_BALANCE_EXEC \
  23. | SD_SERIALIZE \
  24. | SD_WAKE_BALANCE, \
  25. .last_balance = jiffies, \
  26. .balance_interval = 1, \
  27. .nr_balance_failed = 0, \
  28. }
  29. #endif
  30. #include <asm-generic/topology.h>
  31. #endif /* _ASM_SH_TOPOLOGY_H */