From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 16 Nov 2020 10:51:00 +0000 From: Marc Zyngier Subject: Re: [patch 06/19] arm64: irqstat: Get rid of duplicated declaration In-Reply-To: <20201113141733.392015387@linutronix.de> References: <20201113140207.499353218@linutronix.de> <20201113141733.392015387@linutronix.de> Message-ID: <813afa3a895b0da8974fac72832a03b3@kernel.org> To: Thomas Gleixner Cc: LKML , Peter Zijlstra , Frederic Weisbecker , Paul McKenney , Sebastian Andrzej Siewior , Arnd Bergmann , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, Jeff Dike , Richard Weinberger , Anton Ivanov , linux-um@lists.infradead.org, Russell King , Valentin Schneider List-ID: On 2020-11-13 14:02, Thomas Gleixner wrote: > irq_cpustat_t is exactly the same as the asm-generic one. Define > ack_bad_irq so the generic header does not emit the generic version of > it. > > Signed-off-by: Thomas Gleixner > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Marc Zyngier > Cc: linux-arm-kernel@lists.infradead.org > --- > arch/arm64/include/asm/hardirq.h | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > --- a/arch/arm64/include/asm/hardirq.h > +++ b/arch/arm64/include/asm/hardirq.h > @@ -13,11 +13,8 @@ > #include > #include > > -typedef struct { > - unsigned int __softirq_pending; > -} ____cacheline_aligned irq_cpustat_t; > - > -#include /* Standard mappings for irq_cpustat_t > above */ > +#define ack_bad_irq ack_bad_irq > +#include > > #define __ARCH_IRQ_EXIT_IRQS_DISABLED 1 Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...