Re: [PATCH] powerpc: Fix lwsync feature fixup vs. modules on 64-bit

2010-02-26 Thread Sachin Sant
Benjamin Herrenschmidt wrote: 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 re

[PATCH] powerpc: Fix lwsync feature fixup vs. modules on 64-bit

2010-02-25 Thread Benjamin Herrenschmidt
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 t