From: Jean Pihet Date: Wed, 19 Jan 2011 22:03:52 +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=9108efb29cd92bbeb1643093e4098ced31aaeed9;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