aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linaro.org>2014-12-03 09:52:40 +0800
committerAlex Shi <alex.shi@linaro.org>2014-12-03 09:52:40 +0800
commit95e4ac74908ad668222aded99a04a944d3701c06 (patch)
treefb92cca1e74fa589c05311fb6124a26ad4ddd22a
parente46320734edc9a117dacd5ea5fae94a5308891ba (diff)
sched: added SD_NUMA definition
The commit 143e1e2 sched: Rework sched_domain topology definition move the SD_NUMA definition from CONFIG_NUMA, so we need it for even we don't use unma. Signed-off-by: Alex Shi <alex.shi@linaro.org>
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index d536f7b926d..d133fbb3426 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -850,6 +850,7 @@ enum cpu_idle_type {
#define SD_ASYM_PACKING 0x0800 /* Place busy groups earlier in the domain */
#define SD_PREFER_SIBLING 0x1000 /* Prefer to place tasks in a sibling domain */
#define SD_OVERLAP 0x2000 /* sched_domains of this level overlap */
+#define SD_NUMA 0x4000 /* cross-node balancing */
extern int __weak arch_sd_sibiling_asym_packing(void);