]> Pileus Git - ~andy/linux/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)
commit2c3c0693d9cf06d7baf99cfdc10f9c4d40198c6b
tree3d15965337addebb81456192f972bf596a9f0e01
parentc2e1d84523ad2a19e5be08c1f01999cc9e82652e
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