Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp75429iof; Sun, 5 Jun 2022 21:35:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzakDy7y4go4NNpn7lr+8kdq5ttN9xw2IzK0ZjIA12Oh09C/HXgJ2e/fiWBXv6fwwt0q3xD X-Received: by 2002:a17:902:e484:b0:164:1c:57a with SMTP id i4-20020a170902e48400b00164001c057amr22289171ple.12.1654490123687; Sun, 05 Jun 2022 21:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654490123; cv=none; d=google.com; s=arc-20160816; b=jwiChGfaa9ZFgsVrmdt2P2UmIm1sa8J4/ahwAQ+i+eVHg8Zw5+YUn3i7Et5wqlpIq1 YgMdkAFUEGsAqUvDFuLWjfNCz2Bmr+tZ34Q97fpXn3RgNZKzMxqrhQvxBuu4+lvdKNbV AsHLGAi2OU+kNeiQobAWQS4QkyVoH2bJl/wSE+QeH0685fwyYhB0SQOJLhNcCPQEv84z e1hMMbhSEclZwlxrB/12BNOPCigZInWs/mP5C3ZHLPaWanxoFWNmbNfnIsK6F6FtPXvj 6FcQo8Sx5OJpmq0i20IvzFwEAKZCDQXNo8bgLDYrVDtZt9PO6FyR8xVl3FqZpYPbiddv spLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dgTaipyhTS3VeOs8/cT4Gxe8QzvPZ0lNBUbKXaDbHyE=; b=Ht8EKf0MBP8OCnI0bs73LpFuHzvkCxdVrKff24omw4MkwmkyN2hFhnHROlEzTNk0X9 xJgTaRJ9/J1TtLjs42ismDh0OEsmy03WIyWr9ULQI1OrDD5TB+hKoUOTdiRUewmuFP6E 5g/GaGdFp9uw/bRuIDheKThbrqK2rJUMzThm1PsJ+C2q4C5MGJqoJFfpO3ddvbjvK8u+ LEWw1jYdCX9FkfPCOPVzpqMnbNxFU03x0iqXwYlMjbvj/cdxrimYx7VHfRu5lF0EFV8J smdKrU/OrOWDPUmyxm2mQ2G1OgDfWuFCOYhJpRQLF5sg6as+R4YzlXDpKr4EJIZz1eyV cwfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=hlgcnbMU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a123-20020a636681000000b003fbdf18b722si18820572pgc.84.2022.06.05.21.35.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 21:35:23 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=hlgcnbMU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 836A16B023; Sun, 5 Jun 2022 21:00:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350851AbiFEImA (ORCPT + 99 others); Sun, 5 Jun 2022 04:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbiFEIl7 (ORCPT ); Sun, 5 Jun 2022 04:41:59 -0400 Received: from m12-11.163.com (m12-11.163.com [220.181.12.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7EA8F22F for ; Sun, 5 Jun 2022 01:41:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=dgTai pyhTS3VeOs8/cT4Gxe8QzvPZ0lNBUbKXaDbHyE=; b=hlgcnbMUxsoXXj7mMaeE9 5VHFi7IOEdNLeFs5Tc51rmDZLREulvQJ+g7GtHKk53Qikxl6C4+oaZxD1ZBTr88O IgOkG3Z+koj51nb2PRGOu2lX8g9jy7gqz3zw3jUTcvxKH7e5RolDkeTIxOaXuTI/ 7nLOh71N+EnSX+UI4tFAUI= Received: from localhost.localdomain (unknown [1.203.64.79]) by smtp7 (Coremail) with SMTP id C8CowABXxZUcbJxirFxWGQ--.2150S4; Sun, 05 Jun 2022 16:41:18 +0800 (CST) From: jingyuwang To: pmladek@suse.com, senozhatsky@chromium.org, rostedt@goodmis.org, john.ogness@linutronix.de Cc: linux-kernel@vger.kernel.org, jingyuwang Subject: [PATCH] printk: change type of cpu_possible_bits to __cpu_possible_mask Date: Sun, 5 Jun 2022 16:40:58 +0800 Message-Id: <20220605084058.17708-1-jingyuwang_vip@163.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: C8CowABXxZUcbJxirFxWGQ--.2150S4 X-Coremail-Antispam: 1Uf129KBjvdXoWrZF43trWUJrWkKw15KrWxJFb_yoWfCFbEvF 9avrnrKF17G3s2gr17AF43Jr9xta97JFn7K3sakF9Iyr1DJr13tanrJFnxZrn5GrZagFy8 ZFW3uw1qkFsxWjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRZGYl3UUUUU== X-Originating-IP: [1.203.64.79] X-CM-SenderInfo: 5mlqw5xxzd0whbyl1qqrwthudrp/xtbCbgYXF2BbENzw1wAAs4 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 1.type of cpu_possible_bits is changed,refer to commit c4c54dd1caf1 ("kernel/cpu.c: change type of cpu_possible_bits and friends"). 2.set_cpu_possible() before setup_arch(). Signed-off-by: jingyuwang --- kernel/printk/printk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index ea3dd55709e7..25670186d12e 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -1144,8 +1144,8 @@ static void __init log_buf_add_cpu(void) unsigned int cpu_extra; /* - * archs should set up cpu_possible_bits properly with - * set_cpu_possible() after setup_arch() but just in + * archs should set up __cpu_possible_mask properly with + * set_cpu_possible() before setup_arch() but just in * case lets ensure this is valid. */ if (num_possible_cpus() == 1) -- 2.34.1