From patchwork Fri Jun 11 22:05:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rafael Wysocki X-Patchwork-Id: 105654 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 o5BM797G028197 for ; Fri, 11 Jun 2010 22:07:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760659Ab0FKWHI (ORCPT ); Fri, 11 Jun 2010 18:07:08 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:54580 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760620Ab0FKWHH (ORCPT ); Fri, 11 Jun 2010 18:07:07 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by ogre.sisk.pl (Postfix) with ESMTP id 3987F182AF7; Fri, 11 Jun 2010 23:59:56 +0200 (CEST) Received: from ogre.sisk.pl ([127.0.0.1]) by localhost (ogre.sisk.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19042-08; Fri, 11 Jun 2010 23:59:49 +0200 (CEST) Received: from ferrari.localnet (220-bem-13.acn.waw.pl [82.210.184.220]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ogre.sisk.pl (Postfix) with ESMTP id 6A85917F087; Fri, 11 Jun 2010 23:59:49 +0200 (CEST) From: "Rafael J. Wysocki" To: Len Brown Subject: [PATCH][Regression fix] ACPI / ACPICA: Do not attempt to disable GPE when installing handler Date: Sat, 12 Jun 2010 00:05:19 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.35-rc2-rjw+; KDE/4.4.3; x86_64; ; ) Cc: ACPI Devel Maling List , Matthew Garrett , Maxim Levitsky , "Moore, Robert" , len.brown@intel.com, LKML MIME-Version: 1.0 Message-Id: <201006120005.19807.rjw@sisk.pl> X-Virus-Scanned: amavisd-new at ogre.sisk.pl using MkS_Vir for Linux 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]); Fri, 11 Jun 2010 22:07:09 +0000 (UTC) Index: linux-2.6/drivers/acpi/acpica/evxface.c =================================================================== --- linux-2.6.orig/drivers/acpi/acpica/evxface.c +++ linux-2.6/drivers/acpi/acpica/evxface.c @@ -719,13 +720,6 @@ acpi_install_gpe_handler(acpi_handle gpe handler->context = context; handler->method_node = gpe_event_info->dispatch.method_node; - /* Disable the GPE before installing the handler */ - - status = acpi_ev_disable_gpe(gpe_event_info); - if (ACPI_FAILURE (status)) { - goto unlock_and_exit; - } - /* Install the handler */ flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock);