From patchwork Fri Jan 12 23:36:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dennis Zhou X-Patchwork-Id: 187836 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp502060dyc; Fri, 12 Jan 2024 15:37:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IG46lPHsLTeIa5mu/Qj85yDc56Ex/sUQ9Oe159nQLUndBuFZ7qHUlAI8+L74HJ5/VOEmE1J X-Received: by 2002:a17:906:3d2:b0:a23:33aa:7ff1 with SMTP id c18-20020a17090603d200b00a2333aa7ff1mr1036005eja.12.1705102676008; Fri, 12 Jan 2024 15:37:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705102675; cv=none; d=google.com; s=arc-20160816; b=JA+6nI5lXvlSQyuEDVvSyBulylJjFg9anRTmb7Gw2Uopuem68EcXBv2874BM1Y/Ksq pAMaA0UZtrjz3zEG3b2XnUpTsuOTXGItcdKr+5CZzqb5akXp9+Jxqg9wWZbGw+ot6e36 gPCcyUw2msNvOkEXpSgA2QybRUoE/fn4tRavnALKdxeKyZiQHqrE2WL+qOId5R+qL6J6 ssD03oajJeqa56B8XTO5H3Os9/YBjh3KDj8LYpU3tmbVaovVwdpw0eZKkv3+QFlvShO2 jX6DYQ4YPMrF10SpvShJxoaA0Euj6GigqKSPpENqb3PGi4M3OhBU+kPNqeUvPMBfhsvA CP6g== 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=DXiBs0Dsv9lw08RA+psp/orErqrti+c5fonsf5dUFRo=; fh=VBIin8P6pr5d14n52e6pnasLsTR6ydBySIvvstEs8TM=; b=rfPQTQPwZ2Y+CAq7ddBzbAeZHdnnLDAqIFt+sOTqAv3fh1myNYR5hMbu4NWhkmICdc sgXfhgjJjTL7US2PSLyYoAC/2wLNLxjRYA2DsCfIM2cR4B3mhd6BAGWtVUbhDbx49S/M UzkzQTmBHsyrIlbZi3V9YTG8Pun/E4nGk/5X6XRMrgg3UafX0L9EOHICvYac9rvjBNP+ LcHSKIMoLxfBaQgl9K4W5JfhvNsT6+VPPGbKEbxgBd1lRl6fus02bE1LKbVsOOkLx4jP W26cE9RCx61eqpJ8dfiuDp+vvsWss6kS6bVfOTea/RtYb40oQ5cA983E5Hm1z4kHv3C3 1YQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-25105-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25105-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fy7-20020a170906b7c700b00a27a0bf4006si1861699ejb.52.2024.01.12.15.37.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:37:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25105-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-25105-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25105-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 966F51F236C0 for ; Fri, 12 Jan 2024 23:37:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41E831B278; Fri, 12 Jan 2024 23:37:18 +0000 (UTC) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 774441A706 for ; Fri, 12 Jan 2024 23:37:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6ddec7e5747so2514181a34.3 for ; Fri, 12 Jan 2024 15:37:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705102634; x=1705707434; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DXiBs0Dsv9lw08RA+psp/orErqrti+c5fonsf5dUFRo=; b=gvdgTDIalNpO6pkPGpQ4SY+7xoAXKQzKFHZ6QrOlUnKBUyljTeR8SaRl/34cCgfbi1 5RfSIgDlQgYbespOqwkMWkNgHakph2dXJgG89c5VaCzroSIut9vGKT0K9uWR/z1BP2au bhUzzou6yd5iyEGJO31whfHmmzrsDaQuMENiXx7RFoLeQ0LnTJquC4bX4JwXOcL2Fe70 ++oVGo5vDrPSUhE1NpmsrVQrfcjDvb/nv6R7ns2YCePDITxPtIdb9UZTsXgC6VsVggMp 4Q4DshVl7pGPmGBSZVDAUNbjxQt0xD6+839lHgkKvIvR3eThnJ5MdfoLrr0cwKQKMp5v 4Gqg== X-Gm-Message-State: AOJu0YxkwVW6trqtEDUSt2qyHzZdNRgKZirCKsyoofZasF/ffwnya21/ yRcjvvsdLCHedYDvEN9bddI= X-Received: by 2002:a05:6830:12d6:b0:6dd:eebd:cd5f with SMTP id a22-20020a05683012d600b006ddeebdcd5fmr2415192otq.48.1705102634455; Fri, 12 Jan 2024 15:37:14 -0800 (PST) Received: from snowbird.lan ([136.25.84.107]) by smtp.gmail.com with ESMTPSA id x5-20020aa793a5000000b006d9b4171b20sm3676811pff.112.2024.01.12.15.37.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:37:14 -0800 (PST) From: Dennis Zhou To: Tejun Heo , Christoph Lameter , Thomas Gleixner Cc: Peter Zijlstra , Valentin Schneider , Dave Chinner , Yury Norov , Andy Shevchenko , Rasmus Villemoes , Ye Bin , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Dennis Zhou Subject: [PATCH 2/3] cpu/hotplug: Remove export of cpu_active_mask and cpu_dying_mask Date: Fri, 12 Jan 2024 15:36:47 -0800 Message-Id: <1d719106061cc0177eb16d6d5ac914c0485772b2.1705101789.git.dennis@kernel.org> X-Mailer: git-send-email 2.39.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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787929743582745714 X-GMAIL-MSGID: 1787929743582745714 From: Thomas Gleixner No module users and no module should ever care. Signed-off-by: Thomas Gleixner Reviewed-by: Valentin Schneider [Dennis: applied cleanly] Signed-off-by: Dennis Zhou --- kernel/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index a86972a91991..c4929e9cd9be 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -3126,10 +3126,8 @@ struct cpumask __cpu_present_mask __read_mostly; EXPORT_SYMBOL(__cpu_present_mask); struct cpumask __cpu_active_mask __read_mostly; -EXPORT_SYMBOL(__cpu_active_mask); struct cpumask __cpu_dying_mask __read_mostly; -EXPORT_SYMBOL(__cpu_dying_mask); atomic_t __num_online_cpus __read_mostly; EXPORT_SYMBOL(__num_online_cpus);