]> 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)
commitcbdb041bc1df954e5a68e16ba8c6d2e43a09e03e
treebbad949975ee4a562d9aed6800e54a035cfb03a3
parent47419c909648a82aa6e8c9c88addcd16714888ea
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