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

login
register
mail settings
Submitter Bharat Bhushan
Date Oct. 11, 2011, 5:56 a.m.
Message ID <1318312568-23181-1-git-send-email-bharat.bhushan@freescale.com>
Download mbox | patch
Permalink /patch/118890/
State Accepted, archived
Delegated to: Kumar Gala
Headers show

Comments

Bharat Bhushan - Oct. 11, 2011, 5:56 a.m.
It is wrongly using undefined CONFIG_E500MC.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
---
 arch/powerpc/kernel/idle_e500.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Kumar Gala - Oct. 12, 2011, 4:24 a.m.
On Oct 11, 2011, at 12:56 AM, Bharat Bhushan wrote:

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

applied, can you send this linux-stable for v3.0.x inclusion

- k

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