On Fri, Sep 6, 2013 at 4:14 AM, Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx> wrote: > On Wed, Sep 04, 2013 at 02:47:51PM -0700, Russ Dill wrote: >> I think this is already taken care of by the way sram.c is using >> genalloc. The allocation returned should be aligned to 32 bytes. The >> thumb bit shouldn't be an issue as code is copied based on the start >> and end makers made by the linker. I may need to add .align statements >> in the linker so that the start and end markers for the copied code >> are aligned to at least 8 bytes. > > I think you need to read up on what fncpy does... there's more to it > than just merely copying code at an appropriate alignment. Yes, I need to add a pair of inlines that do the asm trickery to/from function addresses. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html