mm: do not use mm->nr_pmds on !MMU configurations
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 12 Feb 2015 22:59:59 +0000 (14:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Feb 2015 02:54:10 +0000 (18:54 -0800)
commit2d2f5119b8bb057595e18f5b2f07aa097ea1b233
tree60d98464937b95ad2f68220251c998dfe461830b
parentf48b80a5e22200347e91f96b8b237b24b93c7192
mm: do not use mm->nr_pmds on !MMU configurations

mm->nr_pmds doesn't make sense on !MMU configurations

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
kernel/fork.c