]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thp: cleanup: introduce mk_huge_pmd()
authorBob Liu <lliubbo@gmail.com>
Sat, 3 Nov 2012 00:42:14 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 7 Nov 2012 04:15:08 +0000 (15:15 +1100)
commita21f65700a532f9738ced457dad649fdb2401e60
tree199916cf77a56534017ab1971a5e988ccfb4924c
parent2d7316e2e9339ad40416e25b3795b2d5daf3ff78
thp: cleanup: introduce mk_huge_pmd()

Introduce mk_huge_pmd() to simplify the code

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Ni zhan Chen <nizhan.chen@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c