From patchwork Thu Oct 13 04:46:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bharat Bhushan X-Patchwork-Id: 119346 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 18108B7247 for ; Thu, 13 Oct 2011 15:47:55 +1100 (EST) Received: from DB3EHSOBE006.bigfish.com (db3ehsobe006.messaging.microsoft.com [213.199.154.144]) (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 1ACE4B6F62 for ; Thu, 13 Oct 2011 15:47:45 +1100 (EST) Received: from mail11-db3-R.bigfish.com (10.3.81.241) by DB3EHSOBE006.bigfish.com (10.3.84.26) with Microsoft SMTP Server id 14.1.225.22; Thu, 13 Oct 2011 04:47:39 +0000 Received: from mail11-db3 (localhost.localdomain [127.0.0.1]) by mail11-db3-R.bigfish.com (Postfix) with ESMTP id DBE8D1880291; Thu, 13 Oct 2011 04:47:38 +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 X-FB-SS: 0, Received: from mail11-db3 (localhost.localdomain [127.0.0.1]) by mail11-db3 (MessageSwitch) id 1318481201241682_5025; Thu, 13 Oct 2011 04:46:41 +0000 (UTC) Received: from DB3EHSMHS011.bigfish.com (unknown [10.3.81.251]) by mail11-db3.bigfish.com (Postfix) with ESMTP id 2CEC515F8052; Thu, 13 Oct 2011 04:46:41 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB3EHSMHS011.bigfish.com (10.3.87.111) with Microsoft SMTP Server (TLS) id 14.1.225.22; Thu, 13 Oct 2011 04:46:41 +0000 Received: from az33smr02.freescale.net (10.64.34.200) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.1.339.2; Wed, 12 Oct 2011 23:46:39 -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 p9D4kXAV010591; Wed, 12 Oct 2011 23:46:35 -0500 (CDT) Received: by freescale.com (sSMTP sendmail emulation); Thu, 13 Oct 2011 10:16:37 +0530 From: Bharat Bhushan To: , , , Subject: [PATCH] powerpc: e500mc: Fix: use CONFIG_PPC_E500MC in idle_e500.S Date: Thu, 13 Oct 2011 10:16:35 +0530 Message-ID: <1318481195-9630-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 Cc: Bharat Bhushan 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. Tested on custom p4080DS board. 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