]> git.baikalelectronics.ru Git - kernel.git/commit
mm: thp: simplify the implementation of mk_huge_pmd()
authorYang Shi <yang.shi@linaro.org>
Fri, 20 May 2016 23:57:30 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 00:58:30 +0000 (17:58 -0700)
commitb8f9b31f4c6eb818d30963af78f9cb2b90037ab8
tree6322ff7a252650d7a7face60e648a2add7d12668
parentdb89a77acec3672036ae997470e7850574d3117a
mm: thp: simplify the implementation of mk_huge_pmd()

The implementation of mk_huge_pmd looks verbose, it could be just
simplified to one line code.

Signed-off-by: Yang Shi <yang.shi@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/huge_memory.c