From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753989Ab1BFTgj (ORCPT ); Sun, 6 Feb 2011 14:36:39 -0500 Received: from www.tglx.de ([62.245.132.106]:53774 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753863Ab1BFTge (ORCPT ); Sun, 6 Feb 2011 14:36:34 -0500 Message-Id: <20110206193617.237075307@linutronix.de> User-Agent: quilt/0.48-1 Date: Sun, 06 Feb 2011 19:36:28 -0000 From: Thomas Gleixner To: LKML Cc: Michal Simek , Peter Zijlstra Subject: [patch 1/3] microblaze: Remove stale irq_chip.end References: <20110206193440.279124802@linutronix.de> Content-Disposition: inline; filename=microblaze-remove-stale-irq_chip-end.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org irq_chip.end got obsolete with the removal of __do_IRQ(). Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Tested-by: Michal Simek LKML-Reference: <20110203004210.240154507@linutronix.de> --- arch/microblaze/kernel/intc.c | 13 ------------- 1 file changed, 13 deletions(-) Index: linux-next/arch/microblaze/kernel/intc.c =================================================================== --- linux-next.orig/arch/microblaze/kernel/intc.c +++ linux-next/arch/microblaze/kernel/intc.c @@ -74,25 +74,12 @@ static void intc_mask_ack(unsigned int i out_be32(INTC_BASE + IAR, mask); } -static void intc_end(unsigned int irq) -{ - unsigned long mask = 1 << irq; - pr_debug("end: %d\n", irq); - if (!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS))) { - out_be32(INTC_BASE + SIE, mask); - /* ack level sensitive intr */ - if (irq_desc[irq].status & IRQ_LEVEL) - out_be32(INTC_BASE + IAR, mask); - } -} - static struct irq_chip intc_dev = { .name = "Xilinx INTC", .unmask = intc_enable_or_unmask, .mask = intc_disable_or_mask, .ack = intc_ack, .mask_ack = intc_mask_ack, - .end = intc_end, }; unsigned int get_irq(struct pt_regs *regs)