From patchwork Wed Jun 2 02:13:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lin Ming X-Patchwork-Id: 103686 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o522FLYb029752 for ; Wed, 2 Jun 2010 02:15:34 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755521Ab0FBCPd (ORCPT ); Tue, 1 Jun 2010 22:15:33 -0400 Received: from mga09.intel.com ([134.134.136.24]:60895 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755443Ab0FBCPc (ORCPT ); Tue, 1 Jun 2010 22:15:32 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 01 Jun 2010 19:13:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.53,343,1272870000"; d="mbox'223?scan'223,208,223";a="626699133" Received: from minggr.sh.intel.com (HELO [10.239.13.33]) ([10.239.13.33]) by orsmga001.jf.intel.com with ESMTP; 01 Jun 2010 19:15:03 -0700 Subject: Re: ACPICA Release 20100528 linuxized patches From: Lin Ming To: Len Brown , Alexey Starikovskiy Cc: "Moore, Robert" , linux-acpi In-Reply-To: <1275296862.7586.64.camel@minggr.sh.intel.com> References: <1275296862.7586.64.camel@minggr.sh.intel.com> Date: Wed, 02 Jun 2010 10:13:57 +0800 Message-Id: <1275444837.3431.11.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 (2.24.1-2.fc10) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 02 Jun 2010 02:15:34 +0000 (UTC) diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c index 38293fd..00a444f 100644 --- a/drivers/acpi/acpica/exfldio.c +++ b/drivers/acpi/acpica/exfldio.c @@ -698,15 +698,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc, ACPI_MEMSET(buffer, 0, buffer_length); access_bit_width = ACPI_MUL_8(obj_desc->common_field.access_byte_width); - /* Handle the simple case here */ - - if ((obj_desc->common_field.start_field_bit_offset == 0) && - (obj_desc->common_field.bit_length == access_bit_width)) { - status = acpi_ex_field_datum_io(obj_desc, 0, buffer, ACPI_READ); - return_ACPI_STATUS(status); - } - /* TBD: Move to common setup code */ /* Field algorithm is limited to sizeof(u64), truncate if needed */