omap: use fncpy to copy the PM code functions to SRAM
authorJean Pihet <j-pihet@ti.com>
Fri, 18 Mar 2011 23:48:08 +0000 (16:48 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 18 Mar 2011 23:48:08 +0000 (16:48 -0700)
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.

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.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>

No differences found