[PATCH v2 3/9] powerpc/powernv: Move idle code usable by multiple hardware to common location

Gautham R Shenoy ego at linux.vnet.ibm.com
Wed May 18 16:29:18 AEST 2016


Hi Shreyas,

On Tue, May 03, 2016 at 01:54:32PM +0530, Shreyas B. Prabhu wrote:
> CPU-idle related code like context save/restore functions idle_power7.S
> can reused for adding stop instruction support. Move this
> code to a new commonly accessible location.

[..snip..]

> diff --git a/arch/powerpc/kernel/idle_power_common.S b/arch/powerpc/kernel/idle_power_common.S
> new file mode 100644
> index 0000000..05954ae
> --- /dev/null
> +++ b/arch/powerpc/kernel/idle_power_common.S

Since the new file is derived from idle_power7.S, you should add a
comment here to indicate that this shares the copyright history with
the original file.

--
Thanks and Regards
gautham.



More information about the Linuxppc-dev mailing list