diff options
author | Chen Gang <[email protected]> | 2013-09-12 15:14:08 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-09-12 15:38:03 -0700 |
commit | de32a8177f64bc62e1b19c685dd391af664ab13f (patch) | |
tree | 590cc9705947f1da9c9eb625122b03cc5e80f332 /lib/test-string_helpers.c | |
parent | 6072ddc8520b86adfac6939ca32fb6e6c4de017a (diff) |
mm/Kconfig: add MMU dependency for MIGRATION.
MIGRATION must depend on MMU, or allmodconfig for the nommu sh
architecture fails to build:
CC mm/migrate.o
mm/migrate.c: In function 'remove_migration_pte':
mm/migrate.c:134:3: error: implicit declaration of function 'pmd_trans_huge' [-Werror=implicit-function-declaration]
if (pmd_trans_huge(*pmd))
^
mm/migrate.c:149:2: error: implicit declaration of function 'is_swap_pte' [-Werror=implicit-function-declaration]
if (!is_swap_pte(pte))
^
...
Also let CMA depend on MMU, or when NOMMU, if we select CMA, it will
select MIGRATION by force.
Signed-off-by: Chen Gang <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions