summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.fwinst
diff options
context:
space:
mode:
authorMel Gorman2012-12-05 10:32:56 +0100
committerMel Gorman2012-12-11 15:42:58 +0100
commit220018d388b8ab1fca1c5f0c6474bab47ad2c9c0 (patch)
tree46c6a2784fb5dc0e35110b7cc7455add77eaf056 /scripts/Makefile.fwinst
parentmm: numa: Add THP migration for the NUMA working set scanning fault case. (diff)
downloadkernel-qcow2-linux-220018d388b8ab1fca1c5f0c6474bab47ad2c9c0.tar.gz
kernel-qcow2-linux-220018d388b8ab1fca1c5f0c6474bab47ad2c9c0.tar.xz
kernel-qcow2-linux-220018d388b8ab1fca1c5f0c6474bab47ad2c9c0.zip
mm: numa: Add THP migration for the NUMA working set scanning fault case build fix
Commit "Add THP migration for the NUMA working set scanning fault case" breaks the build because HPAGE_PMD_SHIFT and HPAGE_PMD_MASK defined to explode without CONFIG_TRANSPARENT_HUGEPAGE: mm/migrate.c: In function 'migrate_misplaced_transhuge_page_put': mm/migrate.c:1549: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed mm/migrate.c:1564: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed mm/migrate.c:1566: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed mm/migrate.c:1573: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed mm/migrate.c:1606: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed mm/migrate.c:1648: error: call to '__build_bug_failed' declared with attribute error: BUILD_BUG failed CONFIG_NUMA_BALANCING allows compilation without enabling transparent hugepages, so define the dummy function for such a configuration and only define migrate_misplaced_transhuge_page_put() when transparent hugepages are enabled. Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'scripts/Makefile.fwinst')
0 files changed, 0 insertions, 0 deletions