04 Feb, 2011

1 commit

  • The new fncpy API is better suited* for copying some
    code to SRAM at runtime. This patch changes the ad-hoc
    code to the more generic fncpy API.

    *: 1. fncpy ensures that the thumb mode bit is propagated,
    2. fncpy provides the security of type safety between the
    original function and the sram function pointer.

    Tested OK on OMAP3 in low power modes (RET/OFF)
    using omap2plus_defconfig with !CONFIG_THUMB2_KERNEL.
    Compile tested on OMAP1/2 using omap1_defconfig.

    Boot tested on OMAP1 & OMAP2
    Tested OK with suspend/resume on OMAP2420/n810

    Boots fine on osk5912 and n800

    Signed-off-by: Jean Pihet
    Acked-by: Kevin Hilman
    Acked-by: Tony Lindgren
    Reviewed-by: Dave Martin
    Tested-by: Kevin Hilman
    Tested-by: Tony Lindgren
    Signed-off-by: Russell King

    Jean Pihet
     

29 Aug, 2009

1 commit


07 Aug, 2008

2 commits


03 Jul, 2008

2 commits