From patchwork Thu Oct 30 09:52:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 39813 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 97A4024046 for ; Thu, 30 Oct 2014 09:53:34 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id l4sf2678453lbv.5 for ; Thu, 30 Oct 2014 02:53:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=NzLMufz4QzhyooFrdaZ6USG0o9YTcYWODLW1igSztmU=; b=F2RAKSuSKCPzA3sc6Np7GTpCxd3KpFR1JpNUXRZbKNNWL/W8RBIwrDMRk/503wHXEa 0gvOgUGnQGgkpgjbNeUe3ykbCkDvq7YTAJSfy8WN8K2Z+1Y3k9vRrtBOqNL6Dm2Rbv8H 2bM+9jnMzDnr4Tc0CR3bSaCmYLRIb9XayvsvL0OQHLUq4zu+c9e76NxunPH3kGbQvLq+ WTRYy/mXZOeeOWdviMQUUFREnFlvLl1dlf9zt1Idum7dVNXnc3LA5K7ObvAsSU1jE1L/ QbL3vBy5xuvnHpYam/Nu6CrlYPPTMLySSE0hq7IudLWVc5KTpg5obre9Ji94vaAJJq6G 3wtg== X-Gm-Message-State: ALoCoQnLIPlat61+e88S6TE3jpy/Rw8DrJVsrWLiDG+UdEsoo67QSvLQl+h0mxI7x5JyhxINPGeK X-Received: by 10.194.91.208 with SMTP id cg16mr181693wjb.5.1414662813078; Thu, 30 Oct 2014 02:53:33 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.40 with SMTP id 8ls148816lar.61.gmail; Thu, 30 Oct 2014 02:53:32 -0700 (PDT) X-Received: by 10.152.10.143 with SMTP id i15mr17741506lab.5.1414662812766; Thu, 30 Oct 2014 02:53:32 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id y8si2819454laj.5.2014.10.30.02.53.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Oct 2014 02:53:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by mail-lb0-f182.google.com with SMTP id f15so4302258lbj.41 for ; Thu, 30 Oct 2014 02:53:32 -0700 (PDT) X-Received: by 10.152.5.38 with SMTP id p6mr17438412lap.44.1414662812653; Thu, 30 Oct 2014 02:53:32 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp12510lbz; Thu, 30 Oct 2014 02:53:31 -0700 (PDT) X-Received: by 10.70.102.205 with SMTP id fq13mr8647261pdb.136.1414662811121; Thu, 30 Oct 2014 02:53:31 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z3si3400462pdl.198.2014.10.30.02.53.30 for ; Thu, 30 Oct 2014 02:53:31 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758302AbaJ3Jx1 (ORCPT + 26 others); Thu, 30 Oct 2014 05:53:27 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:47683 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756123AbaJ3JxZ (ORCPT ); Thu, 30 Oct 2014 05:53:25 -0400 Received: by mail-pd0-f169.google.com with SMTP id y10so4840497pdj.14 for ; Thu, 30 Oct 2014 02:53:25 -0700 (PDT) X-Received: by 10.66.129.142 with SMTP id nw14mr16005212pab.119.1414662805433; Thu, 30 Oct 2014 02:53:25 -0700 (PDT) Received: from localhost ([111.140.36.65]) by mx.google.com with ESMTPSA id nk11sm6633728pdb.40.2014.10.30.02.53.24 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 30 Oct 2014 02:53:24 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: Jiang Liu , Lorenzo Pieralisi , Mark Rutland , Tony Luck , "H. Peter Anvin" , Grant Likely , Sudeep Holla , Lv Zheng , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH 1/3] ACPI / processor: Update the comments in processor.h Date: Thu, 30 Oct 2014 17:52:58 +0800 Message-Id: <1414662780-2147-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , In commit 46ba51e (ACPI / processor: Introduce ARCH_MIGHT_HAVE_ACPI_PDC), acpi_processor_set_pdc() was moved to processor_pdc.c, so update the comments accordingly. Signed-off-by: Hanjun Guo --- include/acpi/processor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 9b9b6f2..cbb6cd3 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -313,11 +313,13 @@ static inline int acpi_processor_get_bios_limit(int cpu, unsigned int *limit) #endif /* CONFIG_CPU_FREQ */ /* in processor_core.c */ -void acpi_processor_set_pdc(acpi_handle handle); int acpi_get_apicid(acpi_handle, int type, u32 acpi_id); int acpi_map_cpuid(int apic_id, u32 acpi_id); int acpi_get_cpuid(acpi_handle, int type, u32 acpi_id); +/* in processor_pdc.c */ +void acpi_processor_set_pdc(acpi_handle handle); + /* in processor_throttling.c */ int acpi_processor_tstate_has_changed(struct acpi_processor *pr); int acpi_processor_get_throttling_info(struct acpi_processor *pr);