android_kernel_xiaomi_sm8350/arch/powerpc/lib
Benjamin Herrenschmidt 3d98ffbffb powerpc: Fix lwsync feature fixup vs. modules on 64-bit
Anton's commit enabling the use of the lwsync fixup mechanism on 64-bit
breaks modules. The lwsync fixup section uses .long instead of the
FTR_ENTRY_OFFSET macro used by other fixups sections, and thus will
generate 32-bit relocations that our module loader cannot resolve.

This changes it to use the same type as other feature sections.

Note however that we might want to consider using 32-bit for all the
feature fixup offsets and add support for R_PPC_REL32 to module_64.c
instead as that would reduce the size of the kernel image. I'll leave
that as an exercise for the reader for now...

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-02-26 18:29:17 +11:00
..
alloc.c
checksum_32.S
checksum_64.S
code-patching.c
copy_32.S
copypage_64.S
copyuser_64.S
crtsavres.S
devres.c
div64.S
feature-fixups-test.S
feature-fixups.c powerpc: Fix lwsync feature fixup vs. modules on 64-bit 2010-02-26 18:29:17 +11:00
locks.c
Makefile
mem_64.S
memcpy_64.S
rheap.c
sstep.c
string.S
usercopy_64.c