Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp511979rdb; Thu, 8 Feb 2024 12:18:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKlagA/2WP74TLHqjDeqhzp7kLuvmQYtxsU/0baXIcngrAxHS8OXQfhsd9BA2HjrcfM7T0 X-Received: by 2002:aa7:d8c6:0:b0:560:b488:d9bd with SMTP id k6-20020aa7d8c6000000b00560b488d9bdmr243924eds.8.1707423518325; Thu, 08 Feb 2024 12:18:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707423518; cv=pass; d=google.com; s=arc-20160816; b=zJAm3w24PlQ3kEu87aQS4UF9k2YbN7u6o2RqZN9m9lnBw7EhFL4Xts8sG/lRJ+yPO8 telANLn0YeXsREsSyoaykWcHi3aWfDWxlwMAMh+i5EXw6w2dujcrPwT/BzJDb0WCT7eD Hqpm+h981gq2q5ToWNft22MQswm1bPncGt03pK+TjqRxycqU+OIGu3tnWy3t7jk+6y10 A9hz2tAqk2RBqNFhlKJLHLYM0bQ4UyPhwTBiKFkbdeZSzxZAsmA/w8vLMwj5mwKu0sl+ O7Dxq+wDLN8WY1mDPCJx7Mrc7Wczkt5K5YlL6aT2RiPEijRy38V8BK4N0qV9BnQK0arl nqQA== 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=tSsEosjDWuVTaWskzvg+GCeL8Q0KczxNBRDsV5Z9Z9Q=; fh=JdvZWp/eqTXjMF0RwMalaHJpSX2AIvP38nClfhnxdfQ=; b=nXlzu24VZnW/yj1tO/PtjP808S7dyUw5rOpUitj/CFRePlaTNCHjIY7Y/48TuaIS2v typ3DUcicoVJ5lpR5Axj2UIE5QGA6b1sLoVOr5N5ZmgUyVOV0QgEOMY/j1Au26tB8T3d uXrewr3+SCGNP+9wkR8Jl0nIqP4AUOiLzI/06uU3mLIO5Uz32UTBgcnj5nl7Ids6nW2B gGt14CdydDFcypIoI1qPifvArXeFG90wukdcGQMRv3HACg+gKaooCfL5AsiGkVsBNd/N 2QZHDn1r38FCW5nIa53Z7TiTrwKzwZyuHjN43avWk1YZvVTFhFvi57Hvwp/VFA6A6CXe DWUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=OmA2fD7Z; 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-58654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58654-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; AJvYcCUy3p1GwtrjhUKS3S8QNcPSdFaYPsbmdwQJAUD428kNZIBW0uoReyNe7EeYKupPXkjQTJgLUchGzfk0Ro9NREDquLEmSLYqD6o8JgLShw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o13-20020a056402038d00b0055f63fceaffsi60853edv.692.2024.02.08.12.18.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 12:18:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58654-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=OmA2fD7Z; 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-58654-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58654-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 1B7721F2EB9D for ; Thu, 8 Feb 2024 20:17:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CF5F3D0C5; Thu, 8 Feb 2024 20:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="OmA2fD7Z" 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 EB6EA38DF2; Thu, 8 Feb 2024 20:16:06 +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=1707423368; cv=none; b=dCWpn01c1HaiwISa7AKyuCyBvIsF7/tmktQ3+s+u6CEWWU+YUkOxMbxbaKjcz09c5faiVFEsuxxuPPfWJBiGa6oZINzEjtejTbJDVZ8ZhJRpN3I68bIYspln1R4ud6FniNkBVF8mImdaJOv+tVN3gW44qyBEdGGTQETNxhE0OG0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707423368; c=relaxed/simple; bh=Fy7fAeEhRXxhYJattsaY48xUX8wq/xaXtUTxoRFdE5Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=iSIzJVvpaCDe5oO8OguZYwKDncJAI+XNXyQG5GjQRZw9gtHhC0my7G/ABNQfprz+sanCtiZGHMtVgle0fBnyGtJ7XvgK5QVb2uFSIA1R6n2vcGIs1tDwpzxKG1VvvDlEuzyy/UZ1UmGlAtV2KzDPDwjVhf/a0JkZBsx2kg+ZG+0= 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=OmA2fD7Z; 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 (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 418K2Epk018476; 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=tSsEosjDWuVTaWskzvg+GCeL8Q0KczxNBRDsV5Z9Z9Q=; b=OmA2fD7ZLP862a8WyWZM3Zlzqjn6BaJI4N3wDuahQLg3aFd0ApZWjACS+gVF7QJI6Apz qs/96aVkBoL+vA6eJIovutjSB0DyNFDfUqriUQgR/KAk3vFeUIqsnFjgWduPVu3xJKxH QpxeGtI4zwBSQ1T2NbWPTwtQFLGQBXzv0o0EgfbZCFTnUzbuc8/N9+VNVp9ukTfmZX1C ChJBZ9g7OYkwJ5TtjqjjLq7V98SZ1YuLXR0yIJs9dMHihdeYqiyTfWxayGm0W/yrQYZp AwYY3lFgWrlLcOk14ibNVjGu0PxDrn2lMIc2btH1eMddrSBP2kNJdeRYoRBYMmCKSk9S nA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3w55mu8c6y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Feb 2024 20:15:54 +0000 Received: from m0353729.ppops.net (m0353729.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 418K3Hvf021562; Thu, 8 Feb 2024 20:15:53 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3w55mu8c6b-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 (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 418Istae016137; Thu, 8 Feb 2024 20:15:52 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3w22h2eg9h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 08 Feb 2024 20:15:52 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 418KFnpp44106182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 8 Feb 2024 20:15:49 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C47CD2004D; Thu, 8 Feb 2024 20:15:49 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B34C32004B; Thu, 8 Feb 2024 20:15:49 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.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 7856EE04E8; 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 1/5] sched/vtime: remove confusing arch_vtime_task_switch() declaration Date: Thu, 8 Feb 2024 21:15:45 +0100 Message-Id: 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: aNx-Vlg6OimIWDavsXMhHhUaI-gyM5i7 X-Proofpoint-ORIG-GUID: 3yQcFb620ijS_fnTGJmVldLx0cmZ4uqU 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 mlxlogscore=749 malwarescore=0 phishscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 adultscore=0 priorityscore=1501 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402080108 Callback arch_vtime_task_switch() is only defined when CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is selected. Yet, the function prototype forward declaration is present for CONFIG_VIRT_CPU_ACCOUNTING_GEN variant. Remove it. Reviewed-by: Frederic Weisbecker Signed-off-by: Alexander Gordeev --- include/linux/vtime.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/vtime.h b/include/linux/vtime.h index 3684487d01e1..593466ceebed 100644 --- a/include/linux/vtime.h +++ b/include/linux/vtime.h @@ -18,7 +18,6 @@ extern void vtime_account_idle(struct task_struct *tsk); #endif /* !CONFIG_VIRT_CPU_ACCOUNTING */ #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN -extern void arch_vtime_task_switch(struct task_struct *tsk); extern void vtime_user_enter(struct task_struct *tsk); extern void vtime_user_exit(struct task_struct *tsk); extern void vtime_guest_enter(struct task_struct *tsk); -- 2.40.1