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

Gautham R Shenoy
2016-05-18T06:29:27Z

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.