Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3807446rdb; Wed, 27 Dec 2023 23:58:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHSu6A866ZYiyYfXK4FJkCome34h0A4M7YSxjLEqxnF5e5edqeZuWs25A+jdR4g3YCFye8y X-Received: by 2002:a05:6a00:2348:b0:6da:16ec:8afb with SMTP id j8-20020a056a00234800b006da16ec8afbmr884945pfj.69.1703750284977; Wed, 27 Dec 2023 23:58:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703750284; cv=none; d=google.com; s=arc-20160816; b=qlDyunNhYpBwgbuTpbRNoAxZxyBbzHzlZhv3ekvKJtK8edxa1WAiAC+XtbJmamzNSZ GT7jOv2FynyUBSCyjKshOyy8WM0GOnilED/8XhoTIax/cCXesZLCEwoF1BlcefkngyJc Wby9urKt2BYq25scIx/ra6nXobR0m14pUgGtnsJt2OpwmWPEtnVL+qEZPJ16doofXJqd XOBo534+u9RkQD+87aa3o82aaBdWDYxAD8+TpzW8a4piPlRTjelP7n4ct0UQYw8GtFxc IP/hsJJibUBl574WpMgaU4NF/ScLCxY4ZKAFu+yutybMubZccXwTiruI5T049vBdf8i6 EeaA== ARC-Message-Signature: i=1; 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; bh=5MnYbWkIeeRq4q814MobNcZPUEzYBl20gKv44APpN1A=; fh=aRZZFfYpFsbONXxr7ZI6QaRKfYRbAmgYyJx4zno9nrw=; b=MwrNrCv5g10u10VXAfLsL+pGqW7Gy2hIu/W9bv16MoG4eVHzT6wQLLTnRuGAkNsKU9 szE05DVgP+dmOKjCOiO5PQx7Fp9fseKw49eMw/GLBE9TwSrgPwk0g26+6LD2HFw6wKdJ 4FcyYrENUmgcqPoxOnGQKbCmTi8KPHsw0k1V65kfGEwDwGZ/PYVM0vs85d1GZNQ1TEek WkZrQeBXrXYOuK7tjndajHCPgFWdZ2D3Pg3DbzUcEDeV5C4XGWrzLXGgdfxHc5PVfLoZ /3O2atgZjkINyXqhPZxUGR/XgRoOUcXBHgT1u1KXlZsSTtyLYQVlH2KqTa+6ku4GZA6N lvIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12501-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 202-20020a6300d3000000b005ca5616facesi12261548pga.38.2023.12.27.23.58.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 23:58:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12501-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A0389283BED for ; Thu, 28 Dec 2023 07:58:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EFC26FBA; Thu, 28 Dec 2023 07:57:25 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mx1.zhaoxin.com (MX1.ZHAOXIN.COM [210.0.225.12]) (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 D1E296ABC for ; Thu, 28 Dec 2023 07:57:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=zhaoxin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zhaoxin.com X-ASG-Debug-ID: 1703750234-086e230f2809020001-xx1T2L Received: from ZXSHMBX2.zhaoxin.com (ZXSHMBX2.zhaoxin.com [10.28.252.164]) by mx1.zhaoxin.com with ESMTP id Vfmwyz9YO8cZUj6A (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 28 Dec 2023 15:57:14 +0800 (CST) X-Barracuda-Envelope-From: TonyWWang-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.164 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHMBX2.zhaoxin.com (10.28.252.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 28 Dec 2023 15:57:13 +0800 Received: from tony.zhaoxin.com (10.32.65.162) by zxbjmbx1.zhaoxin.com (10.29.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 28 Dec 2023 15:57:11 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.164 From: Tony W Wang-oc X-Barracuda-RBL-Trusted-Forwarder: 10.29.252.163 To: , , , , , , , , , , , , , , , , , , CC: , , , Subject: [PATCH 2/3] x86/sched/itmt: Export two API symbols Date: Thu, 28 Dec 2023 15:57:04 +0800 X-ASG-Orig-Subj: [PATCH 2/3] x86/sched/itmt: Export two API symbols Message-ID: <20231228075705.26652-3-TonyWWang-oc@zhaoxin.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231228075705.26652-1-TonyWWang-oc@zhaoxin.com> References: <20231228075705.26652-1-TonyWWang-oc@zhaoxin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: zxbjmbx1.zhaoxin.com (10.29.252.163) To zxbjmbx1.zhaoxin.com (10.29.252.163) X-Barracuda-Connect: ZXSHMBX2.zhaoxin.com[10.28.252.164] X-Barracuda-Start-Time: 1703750234 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://10.28.252.35:4443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at zhaoxin.com X-Barracuda-Scan-Msg-Size: 807 X-Barracuda-BRTS-Status: 0 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.118664 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Mark two API symbols to be exported to kernel loadable GPL modules, namely: sched_set_itmt_support; sched_set_itmt_core_prio; Signed-off-by: Tony W Wang-oc --- arch/x86/kernel/itmt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/itmt.c b/arch/x86/kernel/itmt.c index 9a7c03d47861..96c74fa8ea9c 100644 --- a/arch/x86/kernel/itmt.c +++ b/arch/x86/kernel/itmt.c @@ -121,6 +121,7 @@ int sched_set_itmt_support(void) return 0; } +EXPORT_SYMBOL_GPL(sched_set_itmt_support); /** * sched_clear_itmt_support() - Revoke platform's support of ITMT @@ -180,3 +181,4 @@ void sched_set_itmt_core_prio(int prio, int cpu) { per_cpu(sched_core_priority, cpu) = prio; } +EXPORT_SYMBOL_GPL(sched_set_itmt_core_prio); -- 2.25.1