From patchwork Tue May 27 17:27:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lv Zheng X-Patchwork-Id: 4250541 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 02EDFBF90B for ; Tue, 27 May 2014 17:27:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2ADC7202E6 for ; Tue, 27 May 2014 17:27:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3437C202E5 for ; Tue, 27 May 2014 17:27:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752017AbaE0R1v (ORCPT ); Tue, 27 May 2014 13:27:51 -0400 Received: from mail-pb0-f51.google.com ([209.85.160.51]:64840 "EHLO mail-pb0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752880AbaE0R1t (ORCPT ); Tue, 27 May 2014 13:27:49 -0400 Received: by mail-pb0-f51.google.com with SMTP id ma3so9702602pbc.10 for ; Tue, 27 May 2014 10:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CfyqjnqVrWClv9BrY69xuT9YOSOeXB/QTvHidc1prso=; b=eK/1n1pmBSzj393qPiJecGiRlDjHVE0VDXnDz48YB1bWp3oTGb38Ri9UTXJLhrIdzh mOtevURaa8hPSpvg9GKKivcb/XnU1j1WanqsYQ/KdgG0r0pD9efh/txDKDVsJrsujIg5 LEckCPQEOm6Yv91pjE+nl99dH5FDRVr/VhpVh5TjAH4ByXUy6Kuy6JRcnn0OC88xYsDK VpELCyQsKXvYByGyswfOZ7RVbV8V6PI0SeLj5mZkNvBVEWL1VNzGkBKi7wHpzpwVADRA 9fIDmzhw25Rr3t+r7lbSfONwyh4/4rkC2iVT8lULIKLQ71Tx61gNGVVUnjfo/lC+PAHL ktCg== X-Received: by 10.68.174.33 with SMTP id bp1mr38820608pbc.74.1401211668694; Tue, 27 May 2014 10:27:48 -0700 (PDT) Received: from localhost.localdomain ([180.169.136.70]) by mx.google.com with ESMTPSA id uk1sm76120885pac.26.2014.05.27.10.27.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 May 2014 10:27:48 -0700 (PDT) From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org, Oswald Buddenhagen Subject: [RFC PATCH 1/6] ACPICA: Hardware: Reduce divergences for sleep functions. Date: Wed, 28 May 2014 01:27:37 +0800 Message-Id: X-Mailer: git-send-email 1.7.10 In-Reply-To: References: <38907770.bupFXhytsS@vostro.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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: Lv Zheng This patch is generated to reduce source code differences between Linux and ACPICA so that further sleep related modifications can be applied directly without human interventions. Lv Zheng. Signed-off-by: Lv Zheng Cc: Oswald Buddenhagen --- drivers/acpi/acpica/hwxfsleep.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c index 6921c7f..103d9a7 100644 --- a/drivers/acpi/acpica/hwxfsleep.c +++ b/drivers/acpi/acpica/hwxfsleep.c @@ -138,7 +138,6 @@ acpi_status acpi_set_firmware_waking_vector64(u64 physical_address) { ACPI_FUNCTION_TRACE(acpi_set_firmware_waking_vector64); - /* Determine if the 64-bit vector actually exists */ if ((acpi_gbl_FACS->length <= 32) || (acpi_gbl_FACS->version < 1)) { @@ -154,7 +153,6 @@ acpi_status acpi_set_firmware_waking_vector64(u64 physical_address) ACPI_EXPORT_SYMBOL(acpi_set_firmware_waking_vector64) #endif - /******************************************************************************* * * FUNCTION: acpi_enter_sleep_state_s4bios