From patchwork Fri Feb 5 11:15:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 77325 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o15BMCIi020437 for ; Fri, 5 Feb 2010 11:22:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755195Ab0BELWE (ORCPT ); Fri, 5 Feb 2010 06:22:04 -0500 Received: from mail-yw0-f189.google.com ([209.85.211.189]:53593 "EHLO mail-yw0-f189.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755136Ab0BELWC (ORCPT ); Fri, 5 Feb 2010 06:22:02 -0500 Received: by ywh27 with SMTP id 27so3241940ywh.1 for ; Fri, 05 Feb 2010 03:22:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :in-reply-to:references:subject; bh=8inWiRvH6PvbcGBJWV7k4kv03VvGPDxmptBUYG5nSP8=; b=NnCEFfuoxjIFFhcdL32zuK8K5iSnwhz8uxqDaNWoSVQQn/n1baycO9t7daB+BIqnFQ cPdIUu0p1dSYP2kqjmXFyqyy+2zM4KOAhxYa8YKL7aULUhG3iCXTbYoMDMLM32K3yhwW +4giQdZSNwQoq8/JxosH0QFUNPcJD1VNiH/+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=kEuoBWh6PYF2Y3hqcA0wvlnxeMczudWJW5w/kGS9fR7goCANuCapPNs8ZJp86Jkatz Ev+BK19sl//047mYIddlWei46Q9VOYFXCG1eb8RLW+iKkz6JPy7HyA64yvRl1JAQS/QB mQOqoDhXxpE1XX6/F5wuWMSDiIwUshvnzeuiA= Received: by 10.101.14.16 with SMTP id r16mr3522413ani.23.1265368922231; Fri, 05 Feb 2010 03:22:02 -0800 (PST) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 14sm745896gxk.2.2010.02.05.03.22.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Feb 2010 03:22:01 -0800 (PST) From: Magnus Damm To: linux@arm.linux.org.uk Cc: Magnus Damm , lethal@linux-sh.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org Date: Fri, 05 Feb 2010 20:15:25 +0900 Message-Id: <20100205111525.17065.35884.sendpatchset@rxone.opensource.se> In-Reply-To: <20100205111440.17065.33296.sendpatchset@rxone.opensource.se> References: <20100205111440.17065.33296.sendpatchset@rxone.opensource.se> Subject: [PATCH 05/06] sh: Let INTC set IRQF_VALID on ARM platforms V2 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 05 Feb 2010 11:22:13 +0000 (UTC) --- 0001/drivers/sh/intc.c +++ work/drivers/sh/intc.c 2010-02-05 14:11:53.000000000 +0900 @@ -658,6 +658,10 @@ static void __init intc_register_irq(str if (desc->ack_regs) ack_handle[irq] = intc_ack_data(desc, d, enum_id); + +#ifdef CONFIG_ARM + set_irq_flags(irq, IRQF_VALID); /* Enable IRQ on ARM systems */ +#endif } static unsigned int __init save_reg(struct intc_desc_int *d, @@ -906,8 +910,12 @@ unsigned int create_irq_nr(unsigned int out_unlock: spin_unlock_irqrestore(&vector_lock, flags); - if (irq > 0) + if (irq > 0) { dynamic_irq_init(irq); +#ifdef CONFIG_ARM + set_irq_flags(irq, IRQF_VALID); /* Enable IRQ on ARM systems */ +#endif + } return irq; }