Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp29160rdb; Sun, 28 Jan 2024 11:59:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJBYrFMK4yvFonZBNBJu1k9kXwFTtCzL/Gu4lliLO7sWnz0JVrRVnEm5HB3hdXlLqG/TTu X-Received: by 2002:a05:622a:1a81:b0:42a:292b:20e4 with SMTP id s1-20020a05622a1a8100b0042a292b20e4mr7196985qtc.84.1706471972557; Sun, 28 Jan 2024 11:59:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706471972; cv=pass; d=google.com; s=arc-20160816; b=N5bOpnseGdVuqv/gohodoIMfQx1aksVPEbDkOIKShjiHWhorEc35QpCC7PPArEZ+nK xDP33LMG/MojwFLD1KTcaTkKRupNtlM1Fbblpg7uRweq6XPM3O5RJfAvpqFTaiDu0UAB vqQBaC4X06lSmtjP5d892vbFJbEnDgaw4kag4Yj/IKz+D/5LiAQR9sZGrVzyvekDh+zg Ec720v0P66bHVYYXAaq8gJRewPfo1iNDTfGT/ydYAlft/WrVWB6/2uFu+zEmHvxfsQnR VPQWTO4ZnZndIQKDIA0VEpLmdawbCt0oerEA5JBLc8EyzVZCnCnLxdxPP0I9TEU4BmnK Yjag== 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=Kue5UtYNqVo27GejmfvK/ioKg/AvcIJT+0Q3VwI6xEI=; fh=0d0qzeWeZFZH59nxWKEBFwQiWUQJjOHG83fzdBQRgNA=; b=BLpULbBxePWT/bzieolhY7X872D7w6cyq1wYHNUTUW69Ib8kdDgHHoPY9Qk3DZ+2Fq pgMAbLkJGV56zElIKm6n7t/78T/LP1xucuUMyNEhptqAfONQkiptXEwTL+g7zAYKMQG2 PB9pII53/1//JlzmcS+L+o3y2gxzPputpkcZV/ByHFAIt+jRGJrt46mliua4QM5X9Aad ud6G52ei9xDc4iZBPrGbBUBbmTTMN+Mcp+wvrHvQt5lb+OV/+90oOxrSdFVXssRR2ZpV awxFS029xpFTaq8OXQcni56RbUfiBX5AIb8Q2B/Zkx69l25Wob6p8wlahJkEz+Ie6u9a osLg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WwnbHydI; 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-41920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41920-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. [147.75.199.223]) by mx.google.com with ESMTPS id 18-20020ac85912000000b0042a850143d4si5023157qty.307.2024.01.28.11.59.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 11:59:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=WwnbHydI; 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-41920-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41920-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 517EA1C20D05 for ; Sun, 28 Jan 2024 19:59:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD2BF3C471; Sun, 28 Jan 2024 19:59:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="WwnbHydI" 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 C844A33CFB; Sun, 28 Jan 2024 19:59:09 +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=1706471951; cv=none; b=gCGm9yfIGLqCjxveXTqc8wyumQ17x2DAJfn7GlISRS0wtxtaiZBvZuWiHIsiTaO1eR6+GRgHoyOImGyxEJmPCkM+0S7P1wCjAtLh+p8AFaeBX2gkm74zsS/tid3PsgjrPQagOV9oorWGiOevjF20OHictLkZOcZnKscl3ENDCMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706471951; c=relaxed/simple; bh=xF3J6jCvUQtURZ7L2KsxmlWYDYKsUMhbFtAA6LF2qU0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=W0noIHuiQGYkBjKp8PkWOWHt5biiRetCutS+BLXlcmf8jenQEXGg2BxDxeGyZcMgCh9VadstTkmKb3zRMzD4wBEM2vx7tr9p/EFDYbN5ttGQck7PYjoJshW4NwrjX6TEbPCwhhAjxxBkncIHeW+OpXl8L6hglmTPwnejsKwe1Kc= 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=WwnbHydI; 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 (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40SHC5aL014725; Sun, 28 Jan 2024 19:58:59 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=Kue5UtYNqVo27GejmfvK/ioKg/AvcIJT+0Q3VwI6xEI=; b=WwnbHydIKQDtSPYeEH/9pq4KlNU6EVH5G9ocxKrvcd95p9eee+a7BQNGdk3Y4S/C4TsM bo+8I7oY3KrEO5VMNDCtMs68c2et/08lopkOy2XEKmbCr2jhUep3iTedg4zXijd9uUYq X3XPcvrFb1fTEktJMNv2LCjKfrQ28NG4jW4CL7gqydhRsNpaBi42ozx+4z4NGFVtl3yB +gpHD8Rcf6uH+dSF757lZb6hTFufbQslnQLXj7CzXA5YcETizlqFrUAh5LY3hqrgEwHP 7ICg+gBdNvGrgCJYELhoOkTkVe1zF3AcGnfvikE5nmd7yAbOa79pzKOYE5URpvfZxyH1 4w== 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 3vw5nm3mh8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Jan 2024 19:58:59 +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 40SHKPFH008234; Sun, 28 Jan 2024 19:58:58 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3vwdnkm49h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 28 Jan 2024 19:58:58 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 40SJwtsr17564356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 28 Jan 2024 19:58:55 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E7DB220043; Sun, 28 Jan 2024 19:58:54 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D846520040; Sun, 28 Jan 2024 19:58:54 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTPS; Sun, 28 Jan 2024 19:58:54 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 55669) id A9B58E0325; Sun, 28 Jan 2024 20:58:54 +0100 (CET) From: Alexander Gordeev To: Frederic Weisbecker , Ingo Molnar , Michael Ellerman , Heiko Carstens , Vasily Gorbik Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/5] sched/vtime: remove confusing arch_vtime_task_switch() declaration Date: Sun, 28 Jan 2024 20:58:50 +0100 Message-Id: <443aebea9128f7f455c76479f161bb6a2c956db5.1706470223.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: Xdm9EPwlQclTuCPhjcDowUQiCDyHI0k7 X-Proofpoint-ORIG-GUID: Xdm9EPwlQclTuCPhjcDowUQiCDyHI0k7 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-01-25_14,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=799 mlxscore=0 clxscore=1015 bulkscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401280151 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. 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