From patchwork Thu Nov 27 05:07:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 41591 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f69.google.com (mail-ee0-f69.google.com [74.125.83.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7CF0125E18 for ; Thu, 27 Nov 2014 05:08:16 +0000 (UTC) Received: by mail-ee0-f69.google.com with SMTP id d49sf2718127eek.4 for ; Wed, 26 Nov 2014 21:08:15 -0800 (PST) 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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=mHs+R3JlN9Tz1tGpvzdq9j9LVZffP4bRCLgjPNvPQyY=; b=QWt7OOfj6EoayN3TdqxGRVi9cY2c2p4y3dzpBjnYliRhLGUEvsxMEHIjcogZkBKG2Q sPsHcao8m12DWOamukAuwlSItHu7znc7iTFe2wpl0ga4YNnpNEqb9lwNbCVSO4crjHYb EEogpbwuxhJL5uftGAI4HhpQhRavcCFWIw5WRz8QlifQ901P7hhZx4N5ILiuA62PIcCp lGFtkzaqv3uv9X0MgWSdEg2E8TWNVclDJIXbTlIFPiobA2kXdt/LyDO9O8vL8iYdxsEF 5nQdWkq/lU/CK2CLmOCZLDN+GCMP5HV86s+cOhrTG3T+gwqahxSWCb6fE3kBFiG9EK+n y4Ew== X-Gm-Message-State: ALoCoQn761nGx8Jvv29ezfK5bXj82FqPSoFr1+IdtXKqHbjpjvk1xNaSHhfbtSqOMY4s2sqc6IQw X-Received: by 10.112.154.194 with SMTP id vq2mr4569952lbb.10.1417064895752; Wed, 26 Nov 2014 21:08:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.66 with SMTP id le2ls155107lac.90.gmail; Wed, 26 Nov 2014 21:08:15 -0800 (PST) X-Received: by 10.152.27.202 with SMTP id v10mr36999482lag.13.1417064895248; Wed, 26 Nov 2014 21:08:15 -0800 (PST) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id wz10si6145021lbb.109.2014.11.26.21.08.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Nov 2014 21:08:15 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by mail-la0-f54.google.com with SMTP id gf13so3607261lab.27 for ; Wed, 26 Nov 2014 21:08:15 -0800 (PST) X-Received: by 10.112.62.166 with SMTP id z6mr36367769lbr.74.1417064895163; Wed, 26 Nov 2014 21:08:15 -0800 (PST) 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.184.201 with SMTP id ew9csp745993lbc; Wed, 26 Nov 2014 21:08:14 -0800 (PST) X-Received: by 10.68.211.193 with SMTP id ne1mr59515037pbc.49.1417064892799; Wed, 26 Nov 2014 21:08:12 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bt16si9777081pdb.179.2014.11.26.21.08.11 for ; Wed, 26 Nov 2014 21:08:12 -0800 (PST) Received-SPF: none (google.com: linux-acpi-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 S1751744AbaK0FII (ORCPT + 6 others); Thu, 27 Nov 2014 00:08:08 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:62856 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbaK0FIH (ORCPT ); Thu, 27 Nov 2014 00:08:07 -0500 Received: by mail-pa0-f48.google.com with SMTP id rd3so4257716pab.35 for ; Wed, 26 Nov 2014 21:08:06 -0800 (PST) X-Received: by 10.70.35.207 with SMTP id k15mr59135213pdj.166.1417064886721; Wed, 26 Nov 2014 21:08:06 -0800 (PST) Received: from localhost ([183.247.163.231]) by mx.google.com with ESMTPSA id g13sm5844309pat.45.2014.11.26.21.08.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Nov 2014 21:08:05 -0800 (PST) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: Jiang Liu , Lorenzo Pieralisi , Sudeep Holla , Mark Rutland , Tony Luck , "H. Peter Anvin" , Lv Zheng , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH v2 1/3] ACPI / processor: Update the comments in processor.h Date: Thu, 27 Nov 2014 13:07:31 +0800 Message-Id: <1417064853-27905-2-git-send-email-hanjun.guo@linaro.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417064853-27905-1-git-send-email-hanjun.guo@linaro.com> References: <1417064853-27905-1-git-send-email-hanjun.guo@linaro.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-acpi@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.215.54 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: , From: Hanjun Guo 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);