From patchwork Wed May 8 20:42:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 2541611 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 7D440DF2E5 for ; Wed, 8 May 2013 20:42:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758143Ab3EHUmr (ORCPT ); Wed, 8 May 2013 16:42:47 -0400 Received: from mout.gmx.net ([212.227.15.19]:55194 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755781Ab3EHUmq (ORCPT ); Wed, 8 May 2013 16:42:46 -0400 Received: from mailout-de.gmx.net ([10.1.76.2]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0Lgbwh-1UFN7Q1xaP-00o1Pt for ; Wed, 08 May 2013 22:42:45 +0200 Received: (qmail invoked by alias); 08 May 2013 20:42:45 -0000 Received: from p54AD15C8.dip0.t-ipconnect.de (EHLO p100.box) [84.173.21.200] by mail.gmx.net (mp002) with SMTP; 08 May 2013 22:42:45 +0200 X-Authenticated: #1045983 X-Provags-ID: V01U2FsdGVkX1/6Sa4bKHf65WgUXeg3VVG+rrBzGz/eC2J1U8TwHS +knh7DUB/EKZQU Date: Wed, 8 May 2013 22:42:42 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: avoid WARNING: at kernel/cpu/idle.c:96 Message-ID: <20130508204242.GA16254@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Y-GMX-Trusted: 0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org We need to enable local irqs to avoid this runtime warning. Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index 55f92b6..2840d43 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c @@ -286,3 +286,8 @@ void *dereference_function_descriptor(void *ptr) return ptr; } #endif + +void arch_cpu_idle(void) +{ + local_irq_enable(); +}