aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorMel Gorman <[email protected]>2012-12-17 14:05:53 +0000
committerLinus Torvalds <[email protected]>2012-12-17 16:25:50 +0000
commit221392c3ad0432e39fd74a349364f66cb0ed78f6 (patch)
treecc47a75ade22ee1e32da36c67f3dea2bb9a42393 /fs/proc/array.c
parentmm: fix kernel BUG at huge_memory.c:1474! (diff)
downloadkernel-221392c3ad0432e39fd74a349364f66cb0ed78f6.tar.gz
kernel-221392c3ad0432e39fd74a349364f66cb0ed78f6.zip
sched: numa: Fix build error if CONFIG_NUMA_BALANCING && !CONFIG_TRANSPARENT_HUGEPAGE
Michal Hocko reported that the following build error occurs if CONFIG_NUMA_BALANCING is set without THP support kernel/sched/fair.c: In function ‘task_numa_work’: kernel/sched/fair.c:932:55: error: call to ‘__build_bug_failed’ declared with attribute error: BUILD_BUG failed The problem is that HPAGE_PMD_SHIFT triggers a BUILD_BUG() on !CONFIG_TRANSPARENT_HUGEPAGE. This patch addresses the problem. Reported-by: Michal Hocko <[email protected]> Signed-off-by: Mel Gorman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions