[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v2 37/41] arm : acpi add acpi parameter to enable/disable acpi
- To: Parth Dixit <parth.dixit@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxx>
- From: Julien Grall <julien.grall@xxxxxxxxxx>
- Date: Thu, 11 Jun 2015 09:38:50 -0400
- Cc: keir@xxxxxxx, ian.campbell@xxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, tim@xxxxxxx, julien.grall@xxxxxxxxxx, stefano.stabellini@xxxxxxxxxx, jbeulich@xxxxxxxx, christoffer.dall@xxxxxxxxxx
- Delivery-date: Thu, 11 Jun 2015 13:56:13 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|