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

Domen Puncer domen.puncer at telargo.com
Fri Jul 20 20:55:50 EST 2007


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>
---
 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



More information about the Linuxppc-dev mailing list