From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755540AbZCKCWd (ORCPT ); Tue, 10 Mar 2009 22:22:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755274AbZCKCWN (ORCPT ); Tue, 10 Mar 2009 22:22:13 -0400 Received: from gate.crashing.org ([63.228.1.57]:42996 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754994AbZCKCWM (ORCPT ); Tue, 10 Mar 2009 22:22:12 -0400 Subject: Re: [patch 16/18] powerpc: convert obsolete hw_interrupt_type to struct irq_chip From: Benjamin Herrenschmidt To: Thomas Gleixner Cc: LKML , Andrew Morton , Ingo Molnar , linuxppc-dev@ozlabs.org In-Reply-To: <20090311003237.169865866@linutronix.de> References: <20090311003204.592133594@linutronix.de> <20090311003237.169865866@linutronix.de> Content-Type: text/plain Date: Wed, 11 Mar 2009 13:19:49 +1100 Message-Id: <1236737989.7086.36.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2009-03-11 at 00:46 +0000, Thomas Gleixner wrote: > plain text document attachment > (powerpc-convert-obsolete-hw-interrupt-type.patch) > Impact: cleanup > > Convert the last remaining users to struct irq_chip. Ack too, same comment, happy to have that one in powerpc. Ben. > Signed-off-by: Thomas Gleixner > CC: Benjamin Herrenschmidt > CC: linuxppc-dev@ozlabs.org > --- > arch/powerpc/include/asm/hw_irq.h | 2 +- > arch/powerpc/platforms/powermac/pic.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > Index: linux-2.6/arch/powerpc/include/asm/hw_irq.h > =================================================================== > --- linux-2.6.orig/arch/powerpc/include/asm/hw_irq.h > +++ linux-2.6/arch/powerpc/include/asm/hw_irq.h > @@ -129,7 +129,7 @@ static inline int irqs_disabled_flags(un > * interrupt-retrigger: should we handle this via lost interrupts and IPIs > * or should we not care like we do now ? --BenH. > */ > -struct hw_interrupt_type; > +struct irq_chip; > > #endif /* __KERNEL__ */ > #endif /* _ASM_POWERPC_HW_IRQ_H */ > Index: linux-2.6/arch/powerpc/platforms/powermac/pic.h > =================================================================== > --- linux-2.6.orig/arch/powerpc/platforms/powermac/pic.h > +++ linux-2.6/arch/powerpc/platforms/powermac/pic.h > @@ -3,7 +3,7 @@ > > #include > > -extern struct hw_interrupt_type pmac_pic; > +extern struct irq_chip pmac_pic; > > extern void pmac_pic_init(void); > extern int pmac_get_irq(void); >