Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2064983imm; Thu, 7 Jun 2018 05:01:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLoN57fdl//34KnvA4LqMsMKEFlybcYcNa5zUwKFm9jSQztAYw3mfcySYydQ8XsdNTBIhd0 X-Received: by 2002:a62:40dc:: with SMTP id f89-v6mr1525427pfd.194.1528372904407; Thu, 07 Jun 2018 05:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528372904; cv=none; d=google.com; s=arc-20160816; b=vnOIlJ3jtiXVhEVzVJ/cgzIRzCH3RAbcXq0vqzt1fvuaxc7wkSecW+Mw0fPIIKHl9I GwSflugAjNAev8ZzU4NnYZyDmJCyuzhwpg/DYxhmTr53sBij5UKeDU7okHaxexn2lYv+ uPm+lYjsGof7yu4mKdPRwMs0suli4ZCivWstRBGKghl6PTkxNcK9DMggTQ/zWMflCvrG hK2j2QNDEvR/Gcs5zR86KLY2c/N+NGgAVm7pBSvIg/nmimZTg+MEzn34ag3RfEgS5ngI FtDqkIStI9OsbOi7hm2d5xEp0x9aV/LnZtjWl4jhvNz5MvdzNbOsiRyKQpUAWvoxUlTu 5JXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :arc-authentication-results; bh=OFG8Kd4TSObWqUfg5QKwGPR7fiuhgXlCNqNRr5AUeNY=; b=gKZx3s97GkZBTmnvlyYkIlp8k9K5zuNSVe1CoS2CQmkOMBK4Allnw/C9/QeheN6l6W TjVNVoUaeyreBFeyv9T1BsiqmsKcUyXXLtCZGd4cD3kl/5efmJ/3HkNJlh6gZx83Oznj EIaTWB1x2sXSDT4O2AAqR350S7HfQvHXHcdZLFnjeZ6cY/mGo7Ew3W7hSrwXQwXsNhj0 sDIT9Su8Uq09x6HUKJp7NGiKBKuECKe0gufFFaZ7IgkDxgSjkvZ9h1kZ5jawyvRw0yzG 5ABDSw84YGeWFDA5kyCRcMYu2kRrLf6RrlhheIIpF/dUw85uIf0FYCZNNHUedHY0PdAy zWSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7-v6si43467232pgd.338.2018.06.07.05.01.26; Thu, 07 Jun 2018 05:01:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932632AbeFGLpQ (ORCPT + 99 others); Thu, 7 Jun 2018 07:45:16 -0400 Received: from mx56.baidu.com ([61.135.168.56]:27378 "EHLO tc-sys-mailedm02.tc.baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753229AbeFGLpP (ORCPT ); Thu, 7 Jun 2018 07:45:15 -0400 X-Greylist: delayed 596 seconds by postgrey-1.27 at vger.kernel.org; Thu, 07 Jun 2018 07:45:13 EDT Received: from localhost (cp01-cos-dev01.cp01.baidu.com [10.92.119.46]) by tc-sys-mailedm02.tc.baidu.com (Postfix) with ESMTP id BB8BF11C0049; Thu, 7 Jun 2018 19:35:02 +0800 (CST) From: Li RongQing To: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] x86/acpi: fix the comments in acpi_parse_lapic Date: Thu, 7 Jun 2018 19:35:02 +0800 Message-Id: <1528371302-29270-1-git-send-email-lirongqing@baidu.com> X-Mailer: git-send-email 1.7.10.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This should be permit to preallocate memory for all NR_CPUS Signed-off-by: Li RongQing --- arch/x86/kernel/acpi/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 3b20607d581b..8ae88605a5eb 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -223,7 +223,7 @@ acpi_parse_x2apic(struct acpi_subtable_header *header, const unsigned long end) * We need to register disabled CPU as well to permit * counting disabled CPUs. This allows us to size * cpus_possible_map more accurately, to permit - * to not preallocating memory for all NR_CPUS + * to preallocating memory for all NR_CPUS * when we use CPU hotplug. */ if (!apic->apic_id_valid(apic_id)) { @@ -260,7 +260,7 @@ acpi_parse_lapic(struct acpi_subtable_header * header, const unsigned long end) * We need to register disabled CPU as well to permit * counting disabled CPUs. This allows us to size * cpus_possible_map more accurately, to permit - * to not preallocating memory for all NR_CPUS + * to preallocating memory for all NR_CPUS * when we use CPU hotplug. */ acpi_register_lapic(processor->id, /* APIC ID */ -- 2.16.2