RE: [PATCH 05/12] ACPI: ARM: exclude calls on ARM platforms, not include them on x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: linux-acpi-owner@xxxxxxxxxxxxxxx [mailto:linux-acpi-owner@xxxxxxxxxxxxxxx] On Behalf Of al.stone@xxxxxxxxxx
> Sent: Sunday, November 10, 2013 9:36 AM
> 
> From: Al Stone <ahs3@xxxxxxxxxx>
> 
> Corrected #ifdef so that DMI is not used on ARM platforms which are
> currently implementing reduced HW mode.
> 
> Signed-off-by: Al Stone <al.stone@xxxxxxxxxx>
> ---
>  drivers/acpi/bus.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> index 6a54dd5..f41949a 100644
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -513,11 +513,15 @@ void __init acpi_early_init(void)
> 
>  	acpi_gbl_permanent_mmap = 1;
> 
> +#if !(CONFIG_ARM || CONFIG_ARM64)
>  	/*
> +	 * NB: ARM does not use DMI at present.
> +	 *
>  	 * If the machine falls into the DMI check table,
>  	 * DSDT will be copied to memory
>  	 */
>  	dmi_check_system(dsdt_dmi_table);
> +#endif

I can see dsdt_dmi_table is well protected in this file.  So is that possible to introduce dmi_check_system() stub for non DMI systems?

Thanks
-Lv

> 
>  	status = acpi_reallocate_root_table();
>  	if (ACPI_FAILURE(status)) {
> --
> 1.8.3.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux