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: 5391431 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AC7BB9F319 for ; Thu, 27 Nov 2014 05:10:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF128201C8 for ; Thu, 27 Nov 2014 05:10:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0D0F2201C7 for ; Thu, 27 Nov 2014 05:10:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtrJk-0008AO-6h; Thu, 27 Nov 2014 05:08:36 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XtrJb-00086j-Pz for linux-arm-kernel@lists.infradead.org; Thu, 27 Nov 2014 05:08:28 +0000 Received: by mail-pd0-f180.google.com with SMTP id p10so4197780pdj.39 for ; Wed, 26 Nov 2014 21:08:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=piBAjujsABZ5xneh/+iPqHnSUviyHkyZBLiEsp1WUqI=; b=Xrqk8xQ/mQ8Gii9RMFtoEiu0xaNjf/HR0TtZ3SRCUssiZiAkWT/sLw5zqYSFN+32Pe Ixwv+dIahba1+HB1SvHqxp0oHKbIG4OqS9VSeqXGBd96/C0X/ky4UdsRSNfP4OaGGLIp vU5/BohwPbsoYmt8dzuWw/FO514gaN65TP4igGAUCk7HIu5sq6lVaRkd4LTNXlF/7+C6 RjDV3e6mnVcf089iHmxYzjHiRz9klKdVe1/x0paKz5h5Pj39w65qb//zfyP18c7AI96z VXNiv3UHHNAWfrL+m2Rf7EvcaqvvVN7L8dABwiCkxKCCacg9xnvGZQeFdc38Uc4OPOiw uDeQ== X-Gm-Message-State: ALoCoQknVwwXRlVAYd+xJkY+prpqMUFt1PPeLfVb74SU3GqrCRwTveX8F/a8gNFRI67nYP0tgyvz 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 X-Google-Original-From: Hanjun Guo To: "Rafael J. Wysocki" 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141126_210827_926270_7E00FCB3 X-CRM114-Status: UNSURE ( 9.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Mark Rutland , Lorenzo Pieralisi , linaro-acpi@lists.linaro.org, Sudeep Holla , linux-acpi@vger.kernel.org, Tony Luck , Lv Zheng , "H. Peter Anvin" , Jiang Liu , linux-arm-kernel@lists.infradead.org, Hanjun Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);