]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Move the setting of rflags out of loop in __hash_page_huge
authorLi Zhong <zhong@linux.vnet.ibm.com>
Mon, 15 Apr 2013 16:53:18 +0000 (16:53 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 05:59:59 +0000 (15:59 +1000)
commit533b2e2931fdf459e7e9c6ab4dab489704c83281
tree3d15965337addebb81456192f972bf596a9f0e01
parenta98f0014796d2469cfb3ea569cde7b923dd4765e
powerpc: Move the setting of rflags out of loop in __hash_page_huge

It seems that new_pte and rflags don't get changed in the repeating loop, so
move their assignment out of the loop.

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