[PATCH] powerpc: mpc5200 low power mode, .globl fix

Grant Likely grant.likely at secretlab.ca
Sat Jul 21 01:09:54 EST 2007


On 7/20/07, Domen Puncer <domen.puncer at telargo.com> wrote:
> flush_data_cache doesn't need to be global, and can cause problems.
> Thanks to Milton Miller for noticing this.
>
>
> Signed-off-by: Domen Puncer <domen.puncer at telargo.com>
Signed-off-by: Grant Likely <grant.likely at secretlab.ca>

Paulus, can you pick this up please?

> ---
>  arch/powerpc/platforms/52xx/lite5200_sleep.S |    1 -
>  1 file changed, 1 deletion(-)
>
> Index: work-powerpc.git/arch/powerpc/platforms/52xx/lite5200_sleep.S
> ===================================================================
> --- work-powerpc.git.orig/arch/powerpc/platforms/52xx/lite5200_sleep.S
> +++ work-powerpc.git/arch/powerpc/platforms/52xx/lite5200_sleep.S
> @@ -400,7 +400,6 @@ restore_regs:
>   * Flush data cache
>   * Do this by just reading lots of stuff into the cache.
>   */
> -        .globl flush_data_cache
>  flush_data_cache:
>         lis     r3,CONFIG_KERNEL_START at h
>         ori     r3,r3,CONFIG_KERNEL_START at l
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the Linuxppc-dev mailing list