From patchwork Tue Oct 11 05:56:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bharat Bhushan X-Patchwork-Id: 118890 X-Patchwork-Delegate: galak@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 236CFB6F9B for ; Tue, 11 Oct 2011 20:36:00 +1100 (EST) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe006.messaging.microsoft.com [216.32.181.186]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id F011FB6F18 for ; Tue, 11 Oct 2011 16:56:09 +1100 (EST) Received: from mail40-ch1-R.bigfish.com (10.43.68.240) by CH1EHSOBE004.bigfish.com (10.43.70.54) with Microsoft SMTP Server id 14.1.225.22; Tue, 11 Oct 2011 05:56:03 +0000 Received: from mail40-ch1 (localhost.localdomain [127.0.0.1]) by mail40-ch1-R.bigfish.com (Postfix) with ESMTP id 1EA6C6C8119; Tue, 11 Oct 2011 05:56:03 +0000 (UTC) X-SpamScore: 3 X-BigFish: VS3(zzzz1202h1082kzz8275bhz2dh2a8h668h839h) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI Received: from mail40-ch1 (localhost.localdomain [127.0.0.1]) by mail40-ch1 (MessageSwitch) id 131831256134987_9186; Tue, 11 Oct 2011 05:56:01 +0000 (UTC) Received: from CH1EHSMHS028.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.249]) by mail40-ch1.bigfish.com (Postfix) with ESMTP id EB3971A0804E; Tue, 11 Oct 2011 05:56:00 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS028.bigfish.com (10.43.70.28) with Microsoft SMTP Server (TLS) id 14.1.225.22; Tue, 11 Oct 2011 05:56:00 +0000 Received: from az33smr02.freescale.net (10.64.34.200) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server id 14.1.339.2; Tue, 11 Oct 2011 00:55:59 -0500 Received: from freescale.com (perfidc-01.ap.freescale.net [10.232.14.41]) by az33smr02.freescale.net (8.13.1/8.13.0) with SMTP id p9B5tuQX005210; Tue, 11 Oct 2011 00:55:57 -0500 (CDT) Received: by freescale.com (sSMTP sendmail emulation); Tue, 11 Oct 2011 11:26:10 +0530 From: Bharat Bhushan To: Subject: [PATCH] powerpc: e500mc: Fix: use CONFIG_PPC_E500MC in idle_e500.S Date: Tue, 11 Oct 2011 11:26:08 +0530 Message-ID: <1318312568-23181-1-git-send-email-bharat.bhushan@freescale.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-Mailman-Approved-At: Tue, 11 Oct 2011 20:35:49 +1100 Cc: Bharat Bhushan , linuxppc-dev@lists.ozlabs.org, bharatb.yadav@gmail.com X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org It is wrongly using undefined CONFIG_E500MC. Signed-off-by: Bharat Bhushan --- arch/powerpc/kernel/idle_e500.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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