Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp511798rdb; Thu, 8 Feb 2024 12:18:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVWHe1pCWJldgi1UC6Q5a6m9ffrHQlGQRojRlY3AiupJwMlBVzduECt6gil8CeaTR2mFzA1BLo+H3TBOknSLOoAOtSg89QU/faEIaU/vg== X-Google-Smtp-Source: AGHT+IGzC7xFdRKDv8DVMdxd48OBI5R1oKR2xdQQ+5V9zNiOKw16WgWSa5G8dQWsqo7ByCwaAM0f X-Received: by 2002:a19:8c5b:0:b0:511:6485:1833 with SMTP id i27-20020a198c5b000000b0051164851833mr227609lfj.60.1707423493675; Thu, 08 Feb 2024 12:18:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707423493; cv=pass; d=google.com; s=arc-20160816; b=Mj2o3AReQJJ26xdFFF3ftnhDLXE/DN4XU2qhEEe4vtvJbmmtsGbDMWrqSq8Q/xH2B/ snst4NFsFCT931jAsGYATR5Qyvf9WPjmSsq7/jJgwm2FPZr1enwFnZwi8v0LHeZ5tqEV LBb53prvHRAzvmei/ahRvpMgbcFSez9/Y0/i/8y6rL0sVM7APE/Mvn28EwTORkEYNQTh ebXvcVLO4FvBazDZZJGnXqIGZ7R/uaajzg3e3c6t5MhIOzPdRwKWGC7N8pLAtrsgI0bE IR/Trw8eGQVwUAoBrwvsC1ohr13NzYHw0o90UvSDYqqE1UUnpCaIE/NTWylCXAJzJ2ga mDgQ== 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=6pAf3b9GVktBuvvLaSIUIefVyAEzO4/VszyzuKJCGVE=; b=wLntFfXjyOItsTKhyNyoY8V3wzGjpqpmOf1gjs6Pa2SKlxYTey1iGdcAkX7WWjFr8J u00XiFcZVWgmUxBcGIzMEj26aegrORMgVx1h1sC058IlgWtVda9ZBAspNBljTsRMzR6O TrHgqGDKF2C5+U3x3nZinhkitAUZjZlACBuHJ9Y053fwn92+B5a78d10FEEY6IkRLk8f aZv/kEQoG/u84WVEe1qBA3NvPTuBeg4MijGJRHmoQ6z3JzNXi9tQUf92BPuaW9X7FUmn 5iCyMpTBU7bIfL7mbBfijcg65Zu+wrv0wacBK9k6tQR6j3Cicfs0AA4Y5ylnJqulDSkl uVFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=k6MnG6ik; 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-58649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com X-Forwarded-Encrypted: i=2; AJvYcCUq4qy9oWREg7ouRQLOikdsrUzawkLkCyU1YbbuqeU4juocqE5bI502a/81mi28idI9ZyDcY5GQeqPV9pFy2nvx6zaEAv21/S92S0Sv7Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e26-20020a170906375a00b00a384f16e032si20785ejc.721.2024.02.08.12.18.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 12:18:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=k6MnG6ik; 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-58649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58649-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 9E7161F21FD7 for ; Thu, 8 Feb 2024 20:16:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68230383B0; Thu, 8 Feb 2024 20:16:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="k6MnG6ik" 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 038093612A; Thu, 8 Feb 2024 20:16:03 +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=1707423365; cv=none; b=taS7OPqaAt8NlfK2ioB3/VefAHfIOH13kQjpPrFSFGMzeW/OOGlC05WcsO9gBMlg+IKR9dym6i60YWCkiPi+s5TIx7sQEhRymxqDCSIYCM7a+/fWkv3FYDbM/WljZO+kY96q+U2dR/kRzLB9ySElvMkJIwPQrmS5IcBmGS+yWlg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707423365; c=relaxed/simple; bh=+RTs0tvxM24Ryz5bljNL759ffo+2YNoUxuxyTBXYaGI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Q5b6bVyftnQSVgtWKUun35m6OHHGxwFlPyQUmRE26CGTtXosQGFu8Ym4vt8HgOl7BZN8qFRIfSe+yuOywRHGteDhdXW1wELyH86HXBciXjzkmqNaAl03nP+sgk/549jfszn27bvhOl+3wtirH+VASqNoh4/iUCC5mhsx3BXuq5U= 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=k6MnG6ik; 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 418Ja6BX021701; Thu, 8 Feb 2024 20:15:54 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=k6MnG6iktxBaNI3kignFILhQZmVoR3hxjLuK5tOyTKH+L/UMAWsgdFFYxfnTneehIPz+ eBvM1yE0MqH9xHZz89dMKNbAc3l+WucutMe0nleOlE9qeNPph07VFAVNIq9fP+XK1CXt ZhVYmlbHpJBZb4evLsGW5dfLV2nQ0WBBQ7xpjpg8fPrNhujnEaHVmEOsr4yT/vNws/MA jwuwy0lJnwJ9KS7vM0gV02DhhMQRNQIGUa0nYDCjHv4BRR/hiw/gpqgxc3Y/ttHaD6To WE+MuZD45JUXK/AMITa2P2e5Su4Uhfi3RMRgcbvBVMThNMn+JNlZdW8vX7TyK/YUkmwS 6w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3w53ejknrr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Feb 2024 20:15:54 +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 418K9OuH027077; Thu, 8 Feb 2024 20:15:53 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3w53ejknrb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Feb 2024 20:15:53 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 418IiVpe008487; Thu, 8 Feb 2024 20:15:52 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3w221kejv2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Feb 2024 20:15:52 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 418KFnMs58327306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 8 Feb 2024 20:15:49 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC1F92006B; Thu, 8 Feb 2024 20:15:49 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A7F932005A; Thu, 8 Feb 2024 20:15:49 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTPS; Thu, 8 Feb 2024 20:15:49 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55669) id 7EF41E1515; Thu, 8 Feb 2024 21:15:49 +0100 (CET) From: Alexander Gordeev To: Frederic Weisbecker , Ingo Molnar , Michael Ellerman , Nicholas Piggin , Heiko Carstens , Vasily Gorbik Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v2 4/5] s390/irq,nmi: include header directly Date: Thu, 8 Feb 2024 21:15:48 +0100 Message-Id: <03bf9f84e54e337fc8ccc75f89aef48a407aad31.1707422448.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: f6hshjXUo1Xm-7YvHGAfsn2HiYbnU3J4 X-Proofpoint-GUID: lnAKe9dV9bzR3Ss9en7HFNSKr9KwJYoH 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-08_08,2024-02-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 mlxlogscore=561 spamscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 malwarescore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402080108 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