From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v2 37/41] arm : acpi add acpi parameter to enable/disable acpi Date: Thu, 11 Jun 2015 09:38:50 -0400 Message-ID: <55798F6A.5000502@citrix.com> References: <1431893048-5214-1-git-send-email-parth.dixit@linaro.org> <1431893048-5214-38-git-send-email-parth.dixit@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1431893048-5214-38-git-send-email-parth.dixit@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Parth Dixit , xen-devel@lists.xen.org Cc: keir@xen.org, ian.campbell@citrix.com, andrew.cooper3@citrix.com, tim@xen.org, julien.grall@citrix.com, stefano.stabellini@citrix.com, jbeulich@suse.com, christoffer.dall@linaro.org List-Id: xen-devel@lists.xenproject.org Hi Parth, On 17/05/2015 16:04, Parth Dixit wrote: > +#ifdef CONFIG_ACPI > +static char __initdata acpi_param[10] = ""; > +static void __init parse_acpi_param(char *s) > +{ > + /* Save the parameter so it can be propagated to domain0. */ > + safe_strcpy(acpi_param, s); This acpi_param is never used within this series. Please drop it. > + /* Interpret the parameter for use within Xen. */ > + if ( !parse_bool(s) ) > + { > + disable_acpi(); > + } > + else if ( !strcmp(s, "force") ) > + { > + acpi_disabled = 0; > + } > +} > +#endif > + Regards, -- Julien Grall