Patchwork powerpc: e500mc: Fix: use CONFIG_PPC_E500MC in idle_e500.S

login
register
mail settings
Submitter Bharat Bhushan
Date Oct. 13, 2011, 4:46 a.m.
Message ID <1318481195-9630-1-git-send-email-bharat.bhushan@freescale.com>
Download mbox | patch
Permalink /patch/119346/
State Accepted, archived
Delegated to: Kumar Gala
Headers show

Comments

Bharat Bhushan - Oct. 13, 2011, 4:46 a.m.
It is wrongly using undefined CONFIG_E500MC. Tested on custom p4080DS board.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
---
 arch/powerpc/kernel/idle_e500.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/arch/powerpc/kernel/idle_e500.S b/arch/powerpc/kernel/idle_e500.S
index 3e2b95c..4f0ab85 100644
--- a/arch/powerpc/kernel/idle_e500.S
+++ b/arch/powerpc/kernel/idle_e500.S
@@ -26,7 +26,7 @@  _GLOBAL(e500_idle)
 	ori	r4,r4,_TLF_NAPPING	/* so when we take an exception */
 	stw	r4,TI_LOCAL_FLAGS(r3)	/* it will return to our caller */
 
-#ifdef CONFIG_E500MC
+#ifdef CONFIG_PPC_E500MC
 	wrteei	1
 1:	wait