From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Date: Mon, 16 Nov 2020 10:51:00 +0000 Subject: Re: [patch 06/19] arm64: irqstat: Get rid of duplicated declaration Message-Id: <813afa3a895b0da8974fac72832a03b3@kernel.org> List-Id: References: <20201113140207.499353218@linutronix.de> <20201113141733.392015387@linutronix.de> In-Reply-To: <20201113141733.392015387@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Thomas Gleixner Cc: Rich Felker , Paul McKenney , Arnd Bergmann , linux-sh@vger.kernel.org, Peter Zijlstra , Catalin Marinas , Frederic Weisbecker , Valentin Schneider , Jeff Dike , LKML , Yoshinori Sato , "James E.J. Bottomley" , Richard Weinberger , linux-parisc@vger.kernel.org, Helge Deller , Russell King , linux-um@lists.infradead.org, Will Deacon , Sebastian Andrzej Siewior , linux-arm-kernel@lists.infradead.org, Anton Ivanov 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...