From patchwork Tue Feb 9 07:17:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 77954 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 o197O0ua012922 for ; Tue, 9 Feb 2010 07:24:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634Ab0BIHYA (ORCPT ); Tue, 9 Feb 2010 02:24:00 -0500 Received: from mail-yw0-f189.google.com ([209.85.211.189]:41709 "EHLO mail-yw0-f189.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751513Ab0BIHX7 (ORCPT ); Tue, 9 Feb 2010 02:23:59 -0500 Received: by ywh27 with SMTP id 27so6260463ywh.1 for ; Mon, 08 Feb 2010 23:23:58 -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 :subject; bh=Ij+Vv2UrZVpqmr2L6MQT07gVfVRNNV+LBIJSBQmpkKk=; b=jZ0ZMqV7xneliotkpMthyEMXB1mIheFMS5dm384odhGSQCgeBU5Fpl49jRl2jnG2nu FXlFflmK1cUv4ZR2laNjAEvXCSBDaUAJWVBBo3JtFVLGjZhq1ZdeoNqPMHhGeLw33AMP /cIIMGESVvNo/Mf8+yhXYv4khonka+6YMeAbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=EkYml+lK390SnWXz6XdNaQudWXVmRs4Rv98Aa9Oght9ZIpmttSPbHe+ewWxD2Kvb8d 4nrz8E+Y4JUiEQleU4iX1ZcGU8bHjDQUPQVN4C0DCUqNIYCSThUrlcrMQYc4ZBfYAxcz eary7ATwzZUlCpSVdeG5bPXJkhwwVE4R1NUjo= Received: by 10.91.182.8 with SMTP id j8mr1623665agp.48.1265700238699; Mon, 08 Feb 2010 23:23:58 -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 15sm3468839gxk.8.2010.02.08.23.23.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 23:23:58 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Tue, 09 Feb 2010 16:17:20 +0900 Message-Id: <20100209071720.3947.94798.sendpatchset@rxone.opensource.se> Subject: [PATCH] sh: fix INTC to use set_irq_chained_handler() for redirects 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]); Tue, 09 Feb 2010 07:24:00 +0000 (UTC) --- 0003/drivers/sh/intc.c +++ work/drivers/sh/intc.c 2010-02-09 16:06:13.000000000 +0900 @@ -896,8 +896,8 @@ void __init register_intc_controller(str vect2->enum_id = 0; /* redirect this interrupts to the first one */ - set_irq_chip_and_handler_name(irq2, &d->chip, - intc_redirect_irq, "redirect"); + set_irq_chained_handler(irq2, intc_redirect_irq); + set_irq_chip(irq2, &d->chip); set_irq_data(irq2, (void *)irq); } }