From patchwork Wed Sep 29 08:55:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lin Ming X-Patchwork-Id: 216672 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8T8tJow002589 for ; Wed, 29 Sep 2010 08:55:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755383Ab0I2IzS (ORCPT ); Wed, 29 Sep 2010 04:55:18 -0400 Received: from mga02.intel.com ([134.134.136.20]:49288 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755265Ab0I2IzQ (ORCPT ); Wed, 29 Sep 2010 04:55:16 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 29 Sep 2010 01:55:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.57,252,1283756400"; d="scan'208";a="662221581" Received: from minggr.sh.intel.com (HELO [10.239.13.26]) ([10.239.13.26]) by orsmga001.jf.intel.com with ESMTP; 29 Sep 2010 01:55:02 -0700 Subject: Re: acpi/test panic From: Lin Ming To: Len Brown Cc: Yinghai Lu , "Moore, Robert" , ACPI Devel Maling List In-Reply-To: <1285730626.5741.0.camel@minggr.sh.intel.com> References: <4C9FC97F.7030405@oracle.com> <1285550762.5416.30.camel@minggr.sh.intel.com> <4CA010F9.8040804@oracle.com> <1285563934.5416.35.camel@minggr.sh.intel.com> <1285730626.5741.0.camel@minggr.sh.intel.com> Date: Wed, 29 Sep 2010 16:55:47 +0800 Message-ID: <1285750547.12984.18.camel@minggr.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 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 (demeter1.kernel.org [140.211.167.41]); Wed, 29 Sep 2010 08:55:19 +0000 (UTC) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index af109c7..07516d2 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1000,9 +1000,9 @@ static void __init set_osi_linux(unsigned int enable) } if (osi_linux.enable) - acpi_install_interface("Linux"); + acpi_osi_setup("Linux"); else - acpi_remove_interface("Linux"); + acpi_osi_setup("!Linux"); return; }