diff options
author | Anton Blanchard <anton@samba.org> | 2014-09-19 09:40:19 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-09-30 14:59:12 +1000 |
commit | de5946c03575fb8c222610a6ac6726a5deabad46 (patch) | |
tree | 9df28ec080f641f05aa2440b66284a2cbf18ccf2 /fs/openpromfs | |
parent | 6d31c2fa0eee89e31ca48a66ccfaf71ef545c474 (diff) |
powerpc: Implement load_unaligned_zeropad
Implement a bi-arch and bi-endian version of load_unaligned_zeropad.
Since the fallback case is so rare, a userspace test harness was used
to test this on ppc64le, ppc64 and ppc32:
http://ozlabs.org/~anton/junkcode/test_load_unaligned_zeropad.c
It uses mprotect to force a SEGV across a page boundary, and a SEGV
handler to lookup the exception tables and run the fixup routine.
It also compares the result against a normal load.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions