From: Jean Pihet Date: Tue, 8 Mar 2011 22:43:13 +0000 (-0800) Subject: omap: use fncpy to copy the PM code functions to SRAM X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e22224d2d2653df565339f402972949562b28158;p=pandora-kernel.git omap: use fncpy to copy the PM code functions to SRAM 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 Acked-by: Kevin Hilman Tested-by: Kevin Hilman --- Reading git-diff-tree failed