Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp482854lqt; Thu, 6 Jun 2024 09:06:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUombxm4kHCGtadjuC4x/YzU3gX0PIkqIr13JvSfjG5OtbU2QnZQ/6ItJJtZDKfFItvTCVuNBXMARyy8rwY0kcc8AxhRO6AilTAG4UR9A== X-Google-Smtp-Source: AGHT+IFQjJQMsQwR1mbc0KT41Pj7pir6mE0GTm/jlgMP9O0k/ue4xZkYQB1ENuvFE/2sc/U3wyEn X-Received: by 2002:a05:6a20:7f9c:b0:1af:cc84:f7ea with SMTP id adf61e73a8af0-1b2b73ade3cmr6711582637.8.1717689999309; Thu, 06 Jun 2024 09:06:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717689999; cv=pass; d=google.com; s=arc-20160816; b=Vo51SiTMeUv01D2faGxv6qWkgsWEOAeS3gP90UioqLYsVrYrP4dYPS9EBIuFyEmP3v +3VeVkqgNO27mMfiTdulfZR4jdVTdNo12N6ccd0UCms+rMVUbE7FZ4rArPEt7jHU2g8C 4mdV5BRAjY2FvNfKZg19p+NNnmrkVSk28vi2VumGF6FMiYqAQ/z1PEwavNgex8TyOobo tMyDh4ARIGXME9PH5GlqF7FOPWmYUl7UT13wi7oEiW3vfpO7/TvFjDF66hazdLZwRF4Y 38U21WNrmyo11p01y/cpEDy9cDizFz0q3K6HSsZPv9j0evna/SFElbm/qX6Tt/TvRfGh vjXw== 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=3G9qxMT86kDpYdUxpd7pF8ELFUehp62qjuTlc4JGLIg=; fh=UWjhPwTiruGH2XoB4o1jHSh7rhBxEAq/WIYZLh/SK1A=; b=IwCfBIWXVZdLn6g0yP9oY12rvTtps2V7sjipJnutUMImxxQiahvjOcu/WINgNEZNn1 MyrNy9qgIErH0x2aIiV//VzVF0ELWCf+Xtxsg1udAceGAtvzHgvXCWvhdIFJ/CFRhhTg 8L53V6hr64/eHHdoNKFy5eBtALhN5zvGV4lQCWrgd14s/JFesbCYLSR3suZ+lBIKGYXn dWs1AH+SUwVOK0FE0bfHF4b2Lzq7PGnYJIYm99BeYb1V3m64LsbJlth1FXlwGBTXANEa ETGTmMHXiU/qLC/szLpCC/Yi169CVkVVOeLk0H9oqkl+0Wy6/3X++FDDDqMCmTPpM8JS 4FXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amazon.co.uk header.s=amazon201209 header.b=wDKEeDBf; arc=pass (i=1 spf=pass spfdomain=amazon.co.uk dkim=pass dkdomain=amazon.co.uk dmarc=pass fromdomain=amazon.co.uk); spf=pass (google.com: domain of linux-kernel+bounces-204555-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.uk Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2073c63dsi1416545a12.107.2024.06.06.09.06.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 09:06:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204555-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.co.uk header.s=amazon201209 header.b=wDKEeDBf; arc=pass (i=1 spf=pass spfdomain=amazon.co.uk dkim=pass dkdomain=amazon.co.uk dmarc=pass fromdomain=amazon.co.uk); spf=pass (google.com: domain of linux-kernel+bounces-204555-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204555-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.co.uk 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 73157B26363 for ; Thu, 6 Jun 2024 15:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 163B7198A0A; Thu, 6 Jun 2024 15:11:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.co.uk header.i=@amazon.co.uk header.b="wDKEeDBf" Received: from smtp-fw-52002.amazon.com (smtp-fw-52002.amazon.com [52.119.213.150]) (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 96B39196D86; Thu, 6 Jun 2024 15:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.119.213.150 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717686676; cv=none; b=bbvncjvTd8gh4usQ2ioppkVPFebJCYfEh4p0irfKuT1DitId7PHauW3K4C/KvO7hR+S27zxcjcBw3s27Orn7V47LsJhBArMziVczRIzU+F5hEcnKMjpZ9YPAIEoQw0bwoVxKBOnOowutiyrvuoC/2CFpdAUB7+P6ousJOvi9zvk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717686676; c=relaxed/simple; bh=v817bIMc8LCngm5aUfnkq+5jwelHGj9o1rf31AuUP60=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=stbuSZeJ/V57mhPsNpmyjXXU+iyx2u+1rmU396nrvIYOkm3bJ4kwrF/R/gr1vE2P1mwl42IA41Y4nlRAwHjouEmjWtUf2+7vVFDlUSsLjjhStw5Nss+oI1ZiIM/9xJCC/59Et1wBOKPMO8iLaIlT3sLkXuZg+ORj9wloYDQq2ug= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.co.uk; spf=pass smtp.mailfrom=amazon.co.uk; dkim=pass (1024-bit key) header.d=amazon.co.uk header.i=@amazon.co.uk header.b=wDKEeDBf; arc=none smtp.client-ip=52.119.213.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.co.uk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.co.uk; i=@amazon.co.uk; q=dns/txt; s=amazon201209; t=1717686676; x=1749222676; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=3G9qxMT86kDpYdUxpd7pF8ELFUehp62qjuTlc4JGLIg=; b=wDKEeDBf+ryyHi8AHnTZNjO4KWO3hqZGtkdhv3lNiYJSCdL29WEkdiAf 6uJh+sqYc8jXvwOkMf1v3yu56Z/Zke+oyaPUvqwGNGzLqSzT5pnKzmXaw tiRm/7g5GFHcN4vj6lPwCvw3CrnByUdWE/Yn4OaGWi8rf2sjsiRVvbdcq o=; X-IronPort-AV: E=Sophos;i="6.08,219,1712620800"; d="scan'208";a="637767875" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-east-1.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-52002.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2024 15:11:13 +0000 Received: from EX19MTAEUA002.ant.amazon.com [10.0.10.100:62920] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.31.105:2525] with esmtp (Farcaster) id 990c7da9-484b-4967-885f-b3d91f08d027; Thu, 6 Jun 2024 15:11:11 +0000 (UTC) X-Farcaster-Flow-ID: 990c7da9-484b-4967-885f-b3d91f08d027 Received: from EX19D007EUA001.ant.amazon.com (10.252.50.133) by EX19MTAEUA002.ant.amazon.com (10.252.50.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Thu, 6 Jun 2024 15:11:11 +0000 Received: from EX19MTAUWB001.ant.amazon.com (10.250.64.248) by EX19D007EUA001.ant.amazon.com (10.252.50.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Thu, 6 Jun 2024 15:11:11 +0000 Received: from dev-dsk-fgriffo-1c-69b51a13.eu-west-1.amazon.com (10.13.244.152) by mail-relay.amazon.com (10.250.64.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34 via Frontend Transport; Thu, 6 Jun 2024 15:11:08 +0000 From: Fred Griffoul To: CC: Fred Griffoul , kernel test robot , Alex Williamson , Waiman Long , Zefan Li , Tejun Heo , Johannes Weiner , Jason Gunthorpe , Yi Liu , Kevin Tian , Eric Auger , Stefan Hajnoczi , Christian Brauner , Ankit Agrawal , Reinette Chatre , Ye Bin , , , Subject: [PATCH v3 1/2] cgroup/cpuset: export cpuset_cpus_allowed() Date: Thu, 6 Jun 2024 15:10:12 +0000 Message-ID: <20240606151017.41623-2-fgriffo@amazon.co.uk> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240606151017.41623-1-fgriffo@amazon.co.uk> References: <20240606151017.41623-1-fgriffo@amazon.co.uk> 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 A subsequent patch calls cpuset_cpus_allowed() in the vfio driver pci code. Export the symbol to be able to build the vfio driver as a kernel module. Signed-off-by: Fred Griffoul Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202406060731.L3NSR1Hy-lkp@intel.com/ --- kernel/cgroup/cpuset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 4237c8748715..9fd56222aa4b 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -4764,6 +4764,7 @@ void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) rcu_read_unlock(); spin_unlock_irqrestore(&callback_lock, flags); } +EXPORT_SYMBOL_GPL(cpuset_cpus_allowed); /** * cpuset_cpus_allowed_fallback - final fallback before complete catastrophe. -- 2.40.1