From patchwork Tue Nov 7 21:57:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Arora X-Patchwork-Id: 13449384 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB7B7C4332F for ; Tue, 7 Nov 2023 21:59:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1CA108D006E; Tue, 7 Nov 2023 16:59:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 154C98D0066; Tue, 7 Nov 2023 16:59:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E96D48D006E; Tue, 7 Nov 2023 16:59:15 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id D6EDC8D0066 for ; Tue, 7 Nov 2023 16:59:15 -0500 (EST) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id B828C1A0B05 for ; Tue, 7 Nov 2023 21:59:15 +0000 (UTC) X-FDA: 81432524670.17.18BCFAE Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf19.hostedemail.com (Postfix) with ESMTP id 5CE7C1A0009 for ; Tue, 7 Nov 2023 21:59:12 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=kdd4acaP; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=oY5tJreq; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf19.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1699394352; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=fKRDx+uw2jyDRgUp71qjdHwT8NWG/kxW3t5ad5n6A4A=; b=qg8oB14Z3qT6omToIgyommDNqpiv6Fg2U2d+yTSzsF6sCBr0J2KGI3CodECDb6n/1wW3qG chBkrwfgyVyratrUJ1PxnV9Zk7HLgq9/tqFNsdxmC1FirAkebT2yfmC+tJcFf2mRyZWdax iikW80Uigb9airr6NWXIwsIMx9c94Sw= ARC-Authentication-Results: i=2; imf19.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=kdd4acaP; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=oY5tJreq; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf19.hostedemail.com: domain of ankur.a.arora@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=ankur.a.arora@oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1699394352; a=rsa-sha256; cv=pass; b=3p/xJMr9KR4oYwKoQ9g3EeO8gPiIoP6NqUOWVIRWblWqG+7EuK/xx5HOI/rWG/9Rv64Ea7 N7q//AYhT4JVfExr+Gf9eiy8hTNWg81DOSyEgRGimhZbWDOb8bM31FPBpM0rchv8bVmZxn t/kP8T3oVxcrsB1TbFPCy3bB7wEfhfA= Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJdAB029149; Tue, 7 Nov 2023 21:58:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=fKRDx+uw2jyDRgUp71qjdHwT8NWG/kxW3t5ad5n6A4A=; b=kdd4acaPmGwx0f99J4PXoPpZN2jKoR1D7LrujC57dvMGnT4L5imbnELeItWef4Y3KEwU e8Dz+pROzkl0szquZmSaX4WFaZ0oG6barG8Lie/pNibzf3xE2sWoGz3K01dOJreqT7/e A+ozcFrNqFof0CUEXiFMCZacM7ojiITo80TgrCQRtjUnTmr3MaePi68corrmEjXLVa1G 9e5sZC+D/bASzpkOgLUdl488RjgmoQF97Wx+23dcW39Q67kYP1sBZDrTS/eQ+2/IoO/f B5cjGht1onnDHi4+CYklQurSI2zpksgQpitUOIhcy5EAv2iCJD7IxcFLV8vGApjwYFvo fg== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3u7w2302aj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:47 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3A7LJWws023940; Tue, 7 Nov 2023 21:58:45 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3u7w241fjn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 07 Nov 2023 21:58:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fdLJHAyspE0EhQsAOTFbiKy6839fzqUfK3paYokdZ+F6d9jZ7pxlXVoGGGZeikxSr46jS1ZrJlO//F1TLyZkMRJx/55nEXch5lrJUYWgS+uvoWziooUp6URIPNXKSrqInn1JoxuaT9G+QM1kuMyyvctyptRPOyajjVzbxWlELUx5T8XxfM4tdzdjwyu+GbOBKksqbo3/DXSWBcShg7daf9Cat8gGQMPeLapfpqOIGNRTOXcFXZ1kZEFMxF8mlONY/fwZStXdTBoUcchyKrHSNiWXu6YwN/XSgWI0pHKJiZSLunAZiFSqpVXHCCk0WJScjGkZ7AgvxTAUdwnPHoZoOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fKRDx+uw2jyDRgUp71qjdHwT8NWG/kxW3t5ad5n6A4A=; b=BqPQIunDol2XTAQFTCNdTp9OTtw/4dZh9gJ48KlKcdILohePCBQql7iJQksCZ+gFIIPRZ1/izTPrtXixp0DNdibuc/01jeweA4AcHtZ3Kjfute59ug+bwY52bpBfnOwIRxHqTCrob7CA2XOOFmP/fNtCB+7/5aKcZ5qoas9TU6k1G8McEKFD8y39wYYKDAxKeaqtKhjFsR3OlO1+J5GmbAgWFPIU8RtHGPbBAC1qgOKsy7ki5+I3+pEhzHDDnhG5RRFuuU45TZJuTTXhSdR7QXNqUCjMz95pH+/VwrzRZHx7rRhCq90HWbzq5KSiJnNVAsxtYwPBCxHg/KkFofA09Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fKRDx+uw2jyDRgUp71qjdHwT8NWG/kxW3t5ad5n6A4A=; b=oY5tJreq6VeMQHQM/wxX+zYDL+6lqjSfq6KSbBRPigwkXsrZ2FM6h0QfZ0LUJIxT5I+ydmPlvNIyuGPpyrcOwP4t8PWpUlqpZk+3rreaYRQqweGMWx8c7OVwHcTDAs9orJzJ1Mblj6x7KITDMfOAW18S9wPCLPKR65krOAUFq2I= Received: from CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) by BN0PR10MB5048.namprd10.prod.outlook.com (2603:10b6:408:117::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.29; Tue, 7 Nov 2023 21:58:43 +0000 Received: from CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::1ce3:4a8c:4c99:acea]) by CO6PR10MB5409.namprd10.prod.outlook.com ([fe80::1ce3:4a8c:4c99:acea%7]) with mapi id 15.20.6954.028; Tue, 7 Nov 2023 21:58:43 +0000 From: Ankur Arora To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, peterz@infradead.org, torvalds@linux-foundation.org, paulmck@kernel.org, linux-mm@kvack.org, x86@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, jgross@suse.com, andrew.cooper3@citrix.com, mingo@kernel.org, bristot@kernel.org, mathieu.desnoyers@efficios.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, rostedt@goodmis.org, David.Laight@ACULAB.COM, richard@nod.at, mjguzik@gmail.com, Ankur Arora Subject: [RFC PATCH 20/86] Revert "static_call: Relax static_call_update() function argument type" Date: Tue, 7 Nov 2023 13:57:06 -0800 Message-Id: <20231107215742.363031-21-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20231107215742.363031-1-ankur.a.arora@oracle.com> References: <20231107215742.363031-1-ankur.a.arora@oracle.com> X-ClientProxiedBy: MW4PR04CA0195.namprd04.prod.outlook.com (2603:10b6:303:86::20) To CO6PR10MB5409.namprd10.prod.outlook.com (2603:10b6:5:357::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR10MB5409:EE_|BN0PR10MB5048:EE_ X-MS-Office365-Filtering-Correlation-Id: 532b585b-b3fc-4425-270d-08dbdfdcb52c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yf4xMFmLFiK3DShR4B9LmDnoIdNppEoP18SvtFDC8M1IUSxBMh+yaB5EP06/ac7JUgR4o0rcO6HoHXC+Pvz81WZps/fN+cIvq+FyZeMa4tv5U7DJ+kibp7VejbRxFkLGHScrcWAR7wRoFbOwoXbk1B6Obz2cqKBVVnylOexXeFDCfxyauCU7Lp0Ca5r4aRCt4OeaDsPdg/XwXodL5E0XcW6wQ01Wjs9S3nb9PdXqA8PItsaHQnLIlEhS5CFdp5oME6bsShjCG9oBZdQahnJp+c0fAFlam83G6jUKZD+0z9bBwc3jissjJf3Dl1O/SCkt8+p2GSO3T0xe5FQ5+g2yZD/80T4fAPO7bX8s1f9EBB5C4sbO3UIRCQJ/ZfJHXfcSTOD27Q7uI/m1sYKJhIM+SZAseYGMqWw+t+Mxe9vPyMjnwWf/3TmrQRhGu5UAjpTDT5QgxPik0nn4Whrp3mIOYq8U1ZhSDvNjJGil/2lggZc2FaDIlO5e49YGMCpfju/iLYd3atriMrQwcgLFMyhfQJ6aiVwFw444exmWZ7jZLVrQAFJlqg5Pen4WOHWTT+E6 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR10MB5409.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(396003)(39860400002)(346002)(376002)(136003)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(8936002)(4326008)(8676002)(66476007)(66556008)(316002)(6916009)(66946007)(41300700001)(103116003)(2906002)(86362001)(7406005)(7416002)(5660300002)(83380400001)(107886003)(2616005)(26005)(1076003)(38100700002)(36756003)(478600001)(6512007)(6486002)(6666004)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: iVI8N7LDCvyKXab/Zsn8eqwbDpdIc3L/dqdLxCDcxIzNyqqqS4M5HFsM5Zks1b68/tYQVVFaQQ7jDPWqsHNaY28g3jhyOwEtxKrRZSPAYzME/lxRwGG+RLD6BO0aNSCUr9Bt2lAj1QGLZLYUqQz/SsEiwXLSziVTyG2ZKX6DewkZu6BzPdiOovPHyl57hSM2iSgtSS77TtIL3DpW/x2OmeTA8ES2XdAHDrgIrVyxfG8SX13+VkZ8l+c5ptpL+DMYY6xIlcO726yfh1Aaxv8ZCZwLHrtfSQGwaKEdY1w0mFrcsbqwB1DZpVOMBWDLYxyus9reTft1Ym4h9X6jlnhp7QkFX0o95pR+qYvUiX7eplo4Yj+7BPU0I3OrTwhagKEixcRw3tcXA0SCLoWN45OZ6ok8rx0EJfOTTAsiIl13WV2cDf7OLdS/YJw0g/He41x1q+ibszBuEKDX5WRmosFiQspizn9YZVixiocq+tDs1qfepyGJ9aXIZBI8fMJoeKZClRXgOUyAc1R+cGWruvnjocQ4o3XJ0kDjelpqAHOcQZCrDSI0yiL+SDcQHy4UZi6qzKJnU3ARU9V8raugbrOvpFhvGYUe+uXpSYmX0J0kUFSCwJQk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oBs/DStvydu9ib8fNXCZzSMwdA3vcELRSk+6pucLqxj2hF6KHjTqii+txYW9JXApugpN/boohTbYdi6YsnsCR7uoZNqwWd5NIzDQPaLHRCMKf67phUmTydgohV8nOdWeudGiMgDfDxkAmftdbwRIRAOBFDZK+Dxu6jKH2yIIZHB1PHZHDrBJe4BC8PTQcOMfe86JdrUQ8bHIeYbzcToeUUKD+mIPEUvA2dayPJfyens7Q9kP4gDhtrPocDq1JAUuvlFJX52UIUUwibUGlLEzpwr7Si1oO5HoTBtbkaYC8BirgI0I2O+dF4xcErSe9V9F2amxrW9i8TSOJOtWmtojsI/fdxxlIii1Ox4M5dIMfxz3lFwsITHqvXwVuMFd6c4bKcTv5IlmOf/cDwqY1q/ekE5TPhIGpyy32zHoUWclgdJKxpqLmROsvwwEz2LazjIK41Qbo65PcYXjLB2dgQA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 532b585b-b3fc-4425-270d-08dbdfdcb52c X-MS-Exchange-CrossTenant-AuthSource: CO6PR10MB5409.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2023 21:58:43.0906 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9nuEOnf6vkSt4J8EItg2d2lx2F8rh8Un51sEwch5QB9i086pEHJV5pxqUoX7Q1QnNeuiu+rLZujYeBs4yi9+Gf6YvluBNKvGi5pwpf7CWwY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5048 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-07_13,2023-11-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 spamscore=0 mlxscore=0 adultscore=0 malwarescore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311070182 X-Proofpoint-GUID: UVGXckBUdH_1Q8sPGEAs3KcQ8aoyAwzU X-Proofpoint-ORIG-GUID: UVGXckBUdH_1Q8sPGEAs3KcQ8aoyAwzU X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 5CE7C1A0009 X-Stat-Signature: 5p7uqe9d66jhz7o4ofo7ogigx33ca1ax X-HE-Tag: 1699394352-422214 X-HE-Meta: U2FsdGVkX1/K1J24Jsjuxp5u7CLb6L8EL04MpulmR9PqEYBt2qyGUb930mDfsYOiiu0HfpNBUfQpbuh9yhsweMsaelgNtRqo2cDbwQRczzupfa9lG55Z78k27fmPr3XUWLzXuQtc4Em85YmGPEbDhihzh8nXD4bojc+3zGZ6iGll+LMmRvLZFVrBu2u98J92BmqOQFK/TauW5oMup+Fr8d2wlYLk19Os7QhO75tXCV/3fF6eDOnN3D5rACZPbBaPHW1DtMd7zAmSV1yQqmsy+t3k3fn80uBBzwDSxJ9+9Os2ARcWK8JuwStrSO2MJEMd/zoB625z93mnNuu63Bbl5tOIpfosxaUGBqw+blDelVffzg4V3MqBswpKC6xDA1dGPNq4+qfc0vqlxmntLpqfKJ/s80wJCVTzUS4m02J/nhwEX74NynHbC8APPkuBv2zwTluVAX3OAcdRlWD7rpsXmmaI7uqE0x4ZCxEpxdRF3o5p57hE7G2ywvef/OzsFPCtqUo57J1q18/UO5D/Q8wicTfRDCtJksRCbwH3IXfqK3vKkerZaM0McuIy5a0/jYDnaC7OT4Dq7OtUQWa94yDyJMzH6oJKsWvlp8j6n/mIgyCIv/bqEK9g7j9Lhc+7bsZwn4fJmPxa4CIymamYNX2U0oGipVjHjUzZN1EvFQZt4X0VloTJDRAEIFZFvNxRKJfwiAlLVKxOleQNFZKanwVOl7b8IcVXHqBs0te6FfE86Laqsrfq1PKR7lXYyD+ugtyz0inzUM4OP7FwKPx+UQWusdyGRWuFrQnoLkJVdoponBtn2JcZr2/4HtvU9UO75M2kqGl1WeNfta8zzPlfokwcbUXwkGM0TizDgawdkM3HHg90GJUtiMObe+nIBalmVQWSsDbVa+EDyRdF3Wu+2it4ASkNB32RgCyC96+EPUOh9h7AINIvvnF9cHLXuPKsfpT0bM0kbum/cUt11VEgUj+ eupIYzKD UNUe5bzC2IAp7VQREooXau0SwgnJCiiLoSq9kvaxZtoqgQDKguDqPkFuSOVzzAd2K2LPYYLFHihzNPGBuHUcmW8Wb2EsZffei/SlLsQv8wLArgbyDAhcQuxYDplwG1lewH9edaDh7RgG7yITqeYAfJ/XQk/sJNZrOP3K8oHe/CrI+VgUNIahWq9nUln6sNPRklVz2NLaHGqTogoM8Pg2w/gb8hUR6QBSH2wg5n69XQfmwPRd/0Vy9rQcxYtVhGh2STOjV+736dxykAr8WkVy/S2vqi/yJhdVoBvRXfLeE2WjZ2gkLELSb3Cv4/TIIY8/H5xXbCPtGWV/7QShrBDxxhp4LxZ1kWjx6um6HzMSvpQi16DDzkY9bT44eXcwVDS5IxTLfXyivnRWthOO0/K+rVVTgLnsqPcPgaXCMuh8pvw+PBcurYxgHzDDrX96Afc97ezTRj7L6ywMgEFHWsRRT0CK/YQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This is a partial revert of commit 9432bbd969c667fc9c4b1c140c5a745ff2a7b540. We keep the static_call_update() type matching logic which is used elsewhere. Signed-off-by: Ankur Arora --- kernel/sched/core.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index abc95dfe0ab4..e0bbc2b0b11e 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -7027,25 +7027,25 @@ static void sched_dynamic_update(int mode) switch (mode) { case preempt_dynamic_none: static_call_update(cond_resched, __cond_resched); - static_call_update(might_resched, (void *)&__static_call_return0); - static_call_update(preempt_schedule, NULL); - static_call_update(preempt_schedule_notrace, NULL); - static_call_update(irqentry_exit_cond_resched, NULL); + static_call_update(might_resched, (typeof(&__cond_resched)) __static_call_return0); + static_call_update(preempt_schedule, (typeof(&preempt_schedule)) NULL); + static_call_update(preempt_schedule_notrace, (typeof(&preempt_schedule_notrace)) NULL); + static_call_update(irqentry_exit_cond_resched, (typeof(&irqentry_exit_cond_resched)) NULL); pr_info("Dynamic Preempt: none\n"); break; case preempt_dynamic_voluntary: static_call_update(cond_resched, __cond_resched); static_call_update(might_resched, __cond_resched); - static_call_update(preempt_schedule, NULL); - static_call_update(preempt_schedule_notrace, NULL); - static_call_update(irqentry_exit_cond_resched, NULL); + static_call_update(preempt_schedule, (typeof(&preempt_schedule)) NULL); + static_call_update(preempt_schedule_notrace, (typeof(&preempt_schedule_notrace)) NULL); + static_call_update(irqentry_exit_cond_resched, (typeof(&irqentry_exit_cond_resched)) NULL); pr_info("Dynamic Preempt: voluntary\n"); break; case preempt_dynamic_full: - static_call_update(cond_resched, (void *)&__static_call_return0); - static_call_update(might_resched, (void *)&__static_call_return0); + static_call_update(cond_resched, (typeof(&__cond_resched)) __static_call_return0); + static_call_update(might_resched, (typeof(&__cond_resched)) __static_call_return0); static_call_update(preempt_schedule, __preempt_schedule_func); static_call_update(preempt_schedule_notrace, __preempt_schedule_notrace_func); static_call_update(irqentry_exit_cond_resched, irqentry_exit_cond_resched);