Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp377758rdb; Thu, 22 Feb 2024 06:38:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTNXOOR5VJhUT6Pu41mxxvdDY/wJi4ayC4SgHDW1Wrdvc/+1laCSopHd1/2L/QQ1plH8ggS5Dd3Dt3RQ8HIzrHO+hJPcBu4dL7JYrBUw== X-Google-Smtp-Source: AGHT+IFoAVkpPgB++GtXBoljFhABqp2djkcjIdjblD7ku1Bpi0c/g2jYPP7sWzyP6qi7t7vHRjPc X-Received: by 2002:a05:6214:5195:b0:68f:a819:2ff7 with SMTP id kl21-20020a056214519500b0068fa8192ff7mr4575734qvb.9.1708612680165; Thu, 22 Feb 2024 06:38:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708612680; cv=pass; d=google.com; s=arc-20160816; b=eEPdlvOsL7qJs9Hnoz8wHyp80Hp+tEjGj6fTGUGBB/oH9750Y5IFYlFrYMO4pM7ZU2 YUVcJFOjLtRMbiIcSrrrWjGdMrq60WYKRL+fY+befzZJi+GJKXr96XnmnCjYc4qJHYqf 18AH0p5Fnaxae/7Dh6aLiLtmnSErsVDhEcTjdqVDCeRc0HIgCFcQTon656OpJejvdBr1 y0n4++mbAtA1nA9Ja8EdF4Kv2KyonOoExF/uPVoOXJIV6t6/ZJZACiDZmB4c0wSC2JwO BxWiGPytZ1lRYj/J0nRhk8aM9duPOtZ6loOVXZe1Hfjug+XE3kiU++g6Wh3w6qHoVDfC cwlQ== 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=fCcHbyEAzqbnRluYnPu4Vp7xopD1bdKUBz6WsH9/P5c=; fh=ArwnLsabrY/Oo5OZ0B4waZHM7b0QXa0WdI7cjGO5R/4=; b=dvH4UKpoTqhzYK3r98ApqEhWvpaeTKMgv0RQLNaHnZTSfP8BW3A/RPawRDSy2S2Vta /3m/BLyteNNIdvHazbRITtcLsl16KxYNBAE1aIY1p4nIuajWPlYWKbWFGNfo8YJ75s4G usCKKXe7gjsaxzkvvQMotjlIp0OW1MlNw0KqdNvS8TreMjg2e4VSO4hy+wfP8IBcdgQh T2Cngh4a6+WiXFGJ/3ch/WltDtndysHo7Zhzev8jaRY7jmvF4EGmpwCq7InOafsZ1zp4 82lCaLSQFDTyBDdCuIv1yJ/4PnarIZwvQUaYaiGtQQiV2cmsyswdDrlx9rtI1H/J9v8g gZtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Dryfcnzx; 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-76714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a4-20020a0562140c2400b0068caf790cdcsi13021890qvd.121.2024.02.22.06.38.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 06:38:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Dryfcnzx; 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-76714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76714-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E5B5B1C2564B for ; Thu, 22 Feb 2024 14:37:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33BFA1474A2; Thu, 22 Feb 2024 14:37:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="Dryfcnzx" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 104B51468FB; Thu, 22 Feb 2024 14:37:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708612673; cv=none; b=ewZBZToy/DBjBYgrjeE7uBDYvL6qhAyRu+mgTBnFvtcTPLMjlAh4n+/xS/01ap2hYkMMqasG6X73VgQV8b0CNbm7pFbsrtj56KAC5N6HLCvuZ46CMJ8NK0JGxwtUGrLn7uux8emDZB07M3/I8R95QkXRQeKl0gHyheZ9qc+MNaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708612673; c=relaxed/simple; bh=+RTs0tvxM24Ryz5bljNL759ffo+2YNoUxuxyTBXYaGI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=oOMTiUWnWetrkXsE+ikcfmGW6coIfXLS6spASaGYZ2NtphKPRf6QKouuRLHZYPn4XoY3RERfTZscBSKLExz0v0dZUtyN4wecSpmTKwf+IrK7fM1fE/g7WX5dKE/9HDbjx4Cz/fyehP3PDFe60clPd65/nBn0hWEn2JYdwG8iMLs= 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=Dryfcnzx; arc=none smtp.client-ip=148.163.156.1 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 (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41MEW0jB016154; Thu, 22 Feb 2024 14:37:43 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=fCcHbyEAzqbnRluYnPu4Vp7xopD1bdKUBz6WsH9/P5c=; b=DryfcnzxQqO6fST2vJXWffH+dLtdVE3DyiNxVZ+lSKfheAfA66Qh3MGhWhxnEJ6liG5M Kal8PO6Vy3TTFwEL41OudtB3eg/qv0+k5ebf+mLyF+xZhzlM28W2Q5aQ2TBHrjYswoit fMiDbZHiuxVRvhM0C8db3r4w6zgumzJrZYRpe1cuQ7wX4+eXs36W1EtIW7oz90s+ZEi7 hIsi0/ZBR020fXFDfVNat37YzeW9INe2fFJOPKMpjl4DV9wULelvNhWra0/joGHaXE3l 8BDSBE6+iGDjR6X436EWjqWi+VM3Jy7bDuQPK7Ca+vKQbj2aZlu0GoHfkQUgfQdZrS1h XA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3we84588yy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 14:37:42 +0000 Received: from m0360083.ppops.net (m0360083.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 41MEW8Il016564; Thu, 22 Feb 2024 14:37:42 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3we84588x4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 14:37:42 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 41MBwRNr017261; Thu, 22 Feb 2024 14:33:48 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3wb8mmpkht-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 14:33:47 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 41MEXghf64946660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 22 Feb 2024 14:33:44 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 361BA2004E; Thu, 22 Feb 2024 14:33:42 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 237092004B; Thu, 22 Feb 2024 14:33:42 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTPS; Thu, 22 Feb 2024 14:33:42 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55669) id DC7BDE0365; Thu, 22 Feb 2024 15:33:41 +0100 (CET) From: Alexander Gordeev To: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Nicholas Piggin , Michael Ellerman , Heiko Carstens , Vasily Gorbik , Frederic Weisbecker Subject: [PATCH v2 RESEND 4/5] s390/irq,nmi: include header directly Date: Thu, 22 Feb 2024 15:33:40 +0100 Message-Id: <98c78ea88bed855f06bd59ee44ab1ce6e1e7d52e.1708612016.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-GUID: 8qsYZ-Ab7jjxx4bNs03beryHUGUd7ZpR X-Proofpoint-ORIG-GUID: kPMs4W0l34uBOy6f3H2upLfVePIcG6JX 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-02-22_11,2024-02-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 priorityscore=1501 adultscore=0 mlxscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxlogscore=677 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402220116 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 9ad44c26d1a2..4422a27faace 100644 --- a/arch/s390/kernel/nmi.c +++ b/arch/s390/kernel/nmi.c @@ -32,6 +32,7 @@ #include #include #include +#include #include struct mcck_struct { -- 2.40.1