From patchwork Fri Nov 13 14:02:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Gleixner X-Patchwork-Id: 11903631 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3539C921 for ; Fri, 13 Nov 2020 14:25:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1040B22226 for ; Fri, 13 Nov 2020 14:25:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="U1TO39nO"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="un8PSw38" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgKMOYZ (ORCPT ); Fri, 13 Nov 2020 09:24:25 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:52544 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726731AbgKMOYZ (ORCPT ); Fri, 13 Nov 2020 09:24:25 -0500 Message-Id: <20201113141733.501611990@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605277462; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=OHBT/GvIcx8sVKLm+I9A4wHeNhC5PYlDa+OcCnGbESo=; b=U1TO39nOFoVbk93TwLqtmx7eirvEZHX/LsbXoG8kX8NYI9La4G+iYW3KsdHywpTurZ21jE lcKQVyEXjPaHxz3lSGJORdX0PV4/sTuPicpK53k1W2sARNdyynyNxlK04wAOdXNtq2Y+1I kyXeIknJBqtGPO0mtTckQdR6o/1fHSJzBO7XiCN5CwzRlIea3+p6Z888Nq7lq2nzxJewYo FBDQ/0oalzSY9f6mcTHDO8LMM+TNDOAqrhVtE/ljspI/osFPT/oFpJxPDXcxEnAtj1IgFU qFZzF+5Bvq53Hh55iyMItfff0W0EZlIbcRP2pxMeFBFeamngsGfkzvqthPnUbA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605277462; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=OHBT/GvIcx8sVKLm+I9A4wHeNhC5PYlDa+OcCnGbESo=; b=un8PSw38kc67x10IKXSJioXWUKjQjWWlL39xWy2VdmA0v1fdujzmkwrpWq2pk6cDYFi2rd 8SpDL5kN3gfHhbCA== Date: Fri, 13 Nov 2020 15:02:14 +0100 From: Thomas Gleixner To: LKML Cc: Peter Zijlstra , Frederic Weisbecker , Paul McKenney , Sebastian Andrzej Siewior , Arnd Bergmann , "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 , Marc Zyngier , Valentin Schneider , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon Subject: [patch 07/19] asm-generic/irqstat: Add optional __nmi_count member References: <20201113140207.499353218@linutronix.de> MIME-Version: 1.0 Content-transfer-encoding: 8-bit Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Add an optional __nmi_count member to irq_cpustat_t so more architectures can use the generic version. Signed-off-by: Thomas Gleixner --- include/asm-generic/hardirq.h | 3 +++ 1 file changed, 3 insertions(+) --- a/include/asm-generic/hardirq.h +++ b/include/asm-generic/hardirq.h @@ -7,6 +7,9 @@ typedef struct { unsigned int __softirq_pending; +#ifdef ARCH_WANTS_NMI_IRQSTAT + unsigned int __nmi_count; +#endif } ____cacheline_aligned irq_cpustat_t; #include /* Standard mappings for irq_cpustat_t above */