From patchwork Thu Dec 9 15:09:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lin Ming X-Patchwork-Id: 394672 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 oB9F948F010179 for ; Thu, 9 Dec 2010 15:09:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754116Ab0LIPIw (ORCPT ); Thu, 9 Dec 2010 10:08:52 -0500 Received: from mga01.intel.com ([192.55.52.88]:3190 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754093Ab0LIPIv (ORCPT ); Thu, 9 Dec 2010 10:08:51 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 09 Dec 2010 07:08:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,320,1288594800"; d="scan'208";a="634741238" Received: from unknown (HELO [10.255.20.112]) ([10.255.20.112]) by fmsmga002.fm.intel.com with ESMTP; 09 Dec 2010 07:08:48 -0800 Subject: Re: [PATCH 2/2] acpi: allow to add/remove multiple _OSI strings From: Lin Ming To: lenb Cc: Lukas Hejtmanek , "Moore, Robert" , linux-acpi In-Reply-To: References: <1291884666.10384.47.camel@minggr.sh.intel.com> Date: Thu, 09 Dec 2010 23:09:17 +0800 Message-Id: <1291907357.2181.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.0 (2.28.0-2.fc12) 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]); Thu, 09 Dec 2010 15:09:05 +0000 (UTC) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index d6e181a..d0a1bb5 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1059,7 +1059,7 @@ struct osi_setup_entry { bool enable; }; -static struct osi_setup_entry osi_setup_entries[OSI_STRING_ENTRIES_MAX]; +static struct osi_setup_entry __initdata osi_setup_entries[OSI_STRING_ENTRIES_MAX]; void __init acpi_osi_setup(char *str) {