]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Split the code trying to insert hpte repeatedly as an helper function
authorLi Zhong <zhong@linux.vnet.ibm.com>
Mon, 15 Apr 2013 16:53:19 +0000 (16:53 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 05:59:59 +0000 (15:59 +1000)
commit99493665233aeac6a6ca084c2d6be7481577f565
treed703646cc3179549eb40eb99741f04b887ec0637
parentef5514c9e0c6a17072613878c16b281b3b2f0e40
powerpc: Split the code trying to insert hpte repeatedly as an helper function

Move the logic trying to insert hpte in __hash_page_huge() to an helper
function, so it could also be used by others.

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/hugetlbpage-hash64.c