Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp210087lqj; Wed, 10 Apr 2024 08:18:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXk0oL+DpJVsFOjIrZ/Aen3U4jSoV0Wu29KpAKGtHpOooaicpbrm47CqJWszKImrNom7UjghL2sdubX5LoM9gY/sS+NqOcjW9y9uaEzVA== X-Google-Smtp-Source: AGHT+IHa/PrhSgEpyrx43/c4LBfwqpzLwkqdAcytDatuzzYwdwj1ztWcDIj+Q0HEYUU+JlzglxlD X-Received: by 2002:a50:a697:0:b0:565:665b:9c82 with SMTP id e23-20020a50a697000000b00565665b9c82mr2253783edc.8.1712762298805; Wed, 10 Apr 2024 08:18:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712762298; cv=pass; d=google.com; s=arc-20160816; b=Dom9kwuHgI5N0jzarhVq5/gMGhBtt4EEWn6zbYcO9P0JmAxfP7dkSXAi8WYY58is5O 391LurZY+EVnwNo/RjRq0tuOeUmKoDIBNLjegzSyXz+ZbXFcRXh8eW74r4VEapbsh+Ba NHNrwSuDIGxmNNIUkV5vB9pXVPAiIWyoYHn1wWj5+tU1T3cs3XUM7M6xnJJcV4Q23My8 yF6l19/Y4DZPeO1xcq/6hwyPd8fyRyFwpuLDLhPNB+TirRUyconTVPRcjSz6ES4uRzka LXDT41FvxW3E+2a1Mx0orvvZGrMdMpWDKwKJqDWGfYUNOF6QsOYtq9UOH7uSR9T5Xkf9 KfbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=iVwvZSHTk0sajjmtt3NjqRVWU0hXUazHKS+Ps5brC9w=; fh=gvf1ATPIvpKCn+5c6F1rYd/FBFjLnHc2kw+q413RM48=; b=kYS3uNZA0TD+5WZ6eW7mjySBBvFlr88X1Eajo149vpPXAU+cgntbW7zUgsP1CIaYXk 3mZpUHb/1S+fBSPBuanYZ1fPPB+U1RtCA0tMYW6fvDDXWhqNuawAi1dgTvZxnl3XXXuP ILmY10HBJ798/QLoy3MtUo+gN7n+KC6zlxE8TkW0RP2PpipD595ZqCyuCIQTrbdqb1q5 orz74uFN8x9cFSrED8mTvTIZIzyu+7NPp8MKqcLOJDKwdya2HJ0VvdKCMKa++5HNY1ro oAWU9dFUYI3eTD1PV/wfr+cmgT5kbDbPpUr9Mbna0INulHEDMbVIsGS2S0yzMpOb8Qmf m1hg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=aYAvunXR; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-138847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138847-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c13-20020a05640227cd00b0056dfd08b3d6si1630552ede.5.2024.04.10.08.18.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 08:18:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=aYAvunXR; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-138847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138847-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BF64F1F2D65A for ; Wed, 10 Apr 2024 15:10:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3151416DEC3; Wed, 10 Apr 2024 15:10:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="aYAvunXR" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77E9416D9D6; Wed, 10 Apr 2024 15:10:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712761823; cv=none; b=uQY1IUHOTfVxrvdYCnLqDiUA9PDgjawlNqlXvfsJaoer3ZR5RjMS9oGAxIUNy2/YKaWNf0449CVci3TTQ6hR4nqZvM/XyC3JTP3elk6eIuxwLhZymm7I//vysXR7dOvB4orerODhb8yVRk7NpVRboLIdNFEvoiaBuIAzJKJSafA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712761823; c=relaxed/simple; bh=eWj1DyzI8aOQB2lcef08c8GK08RUz7j+aGeWw05SxZk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uH7eBjf2AzrqEqBQH3ZKvZ2m133hmc3dvg7FzxRQm4m6hl1IX2ysKW1Z0XTeEFk+CYx8i6tflr2MHb9Borzj/2iHqPWqpuPqCZgBasp7sl4VepKfIr70mZ7cO3eb856y1nc+Tr0k2zsujsXC7uQrhFL7ewXoPJ0W7pu3eOyy0ds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=aYAvunXR; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43AEuYeF024033; Wed, 10 Apr 2024 15:09:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=iVwvZSHTk0sajjmtt3NjqRVWU0hXUazHKS+Ps5brC9w=; b=aYAvunXRrqmSB8vYblJX/Z6sE60et8FwTcMCcWU6p5cPyrFlpv4RLnI7pF5G79RrlD8G 5yzsNiVS53rP78740ux7Si0DfMkamg42z/J3M6eakyH9ywoGwK/q8lSCtfFcn8NEAlK3 KJnRfZF+uFxo90wlo7K4tNYHQajbMEVCrTmutQz5gnUZYzBV///luZR07xMRyzJkatR/ wzACSQQ6upBxI4JQD6sT2Qd7Fr+sQaiShhthdyftJiovhacXKv0IY9aa40BTJyhozBkg E/Q66RYMflxrssHk3nkFfTxbhMI+gAMKDQ/VMJcQh/ebbWWWX5up4qTXCDX55VA8pbOF GA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xdrh70qkb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Apr 2024 15:09:56 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 43AF9tEP012896; Wed, 10 Apr 2024 15:09:55 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xdrh70qk4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Apr 2024 15:09:55 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43AD2AlN013544; Wed, 10 Apr 2024 15:09:55 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3xbgqtnpn9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Apr 2024 15:09:54 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43AF9nBK39715114 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 10 Apr 2024 15:09:51 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B9962004E; Wed, 10 Apr 2024 15:09:49 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 199522004B; Wed, 10 Apr 2024 15:09:49 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTPS; Wed, 10 Apr 2024 15:09:49 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55669) id D31C7E0A03; Wed, 10 Apr 2024 17:09:48 +0200 (CEST) From: Alexander Gordeev To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Arnd Bergmann Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arch@vger.kernel.org, Nicholas Piggin , Michael Ellerman , Frederic Weisbecker , Heiko Carstens , Vasily Gorbik Subject: [PATCH v2 RESEND 4/5] s390/irq,nmi: include header directly Date: Wed, 10 Apr 2024 17:09:47 +0200 Message-Id: <3fb696637c0eb7e9d6ffd6cbf9e647d7c5986b3d.1712760275.git.agordeev@linux.ibm.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 6akCn5HRYeQ6TNtTN8-3dk_RAuUBQ7np X-Proofpoint-GUID: prDHpVM-oHQMna2nCY1cEOrp4KLyfFFc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-10_04,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 mlxlogscore=561 suspectscore=0 phishscore=0 clxscore=1011 malwarescore=0 bulkscore=0 impostorscore=0 priorityscore=1501 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404100109 update_timer_sys() and update_timer_mcck() are inlines used for CPU time accounting from the interrupt and machine-check handlers. These routines are specific to s390 architecture, but included via header implicitly. Avoid the extra loop and include header directly. Acked-by: Heiko Carstens Signed-off-by: Alexander Gordeev --- arch/s390/kernel/irq.c | 1 + arch/s390/kernel/nmi.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index 6f71b0ce1068..259496fe0ef9 100644 --- a/arch/s390/kernel/irq.c +++ b/arch/s390/kernel/irq.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "entry.h" DEFINE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat); diff --git a/arch/s390/kernel/nmi.c b/arch/s390/kernel/nmi.c index c77382a67325..230d010bac9b 100644 --- a/arch/s390/kernel/nmi.c +++ b/arch/s390/kernel/nmi.c @@ -31,6 +31,7 @@ #include #include #include +#include struct mcck_struct { unsigned int kill_task : 1; -- 2.40.1