]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix branch patching code for ABIv2
authorAnton Blanchard <anton@samba.org>
Sun, 9 Mar 2014 22:44:22 +0000 (09:44 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:22 +0000 (10:05 +1000)
commitb0e2ebda07b4c9fd5694a8c6180f83910e5cd79b
treebbad949975ee4a562d9aed6800e54a035cfb03a3
parent7231cbf127e1c9d2d7f4fb810ae935ec45901df5
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