]> 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)
commit1ebb09506ed4b1c9160b42374ba1adc37fe2d6e6
treed703646cc3179549eb40eb99741f04b887ec0637
parent533b2e2931fdf459e7e9c6ab4dab489704c83281
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