powerpc: Fix branch patching code for ABIv2
commitb86206e4c32cbe6ac3de1c6dc52c2d64bcf461cb
authorAnton Blanchard <anton@samba.org>
Sun, 9 Mar 2014 22:44:22 +0000 (10 09:44 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:22 +0000 (23 10:05 +1000)
treebbad949975ee4a562d9aed6800e54a035cfb03a3
parent26f920605680b69e484a114b3dcb47ce11df9827
powerpc: Fix branch patching code for ABIv2

The MMU hashtable and SLB branch patching code uses function
pointers for the update sites. This creates a difference between
ABIv1 and ABIv2 because we don't have function descriptors on
ABIv2.

Get rid of the function pointer and just point at the update
sites directly. This works on both ABIs.

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/mm/hash_low_64.S
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/slb.c
arch/powerpc/mm/slb_low.S