powerpc: Replace open coded instruction patching with patch_instruction/patch_branch
authorAnton Blanchard <anton@samba.org>
Mon, 4 Apr 2011 23:56:18 +0000 (23:56 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 20 Apr 2011 07:01:18 +0000 (17:01 +1000)
commitb68a70c49686db0bff4637995d91b4db8abe5281
tree1eaca2fe2137ca1581c2bc5fd33ed84fa9a8d63c
parentf5be2dc0bd8d27a39d84a89e4ff90ba38cd2b285
powerpc: Replace open coded instruction patching with patch_instruction/patch_branch

There are a few places we patch instructions without using
patch_instruction and patch_branch, probably because they
predated it. Fix it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/slb.c