Re: [PATCH] drivers: acpi: make ACPI_PROCFS_POWER X86 only

From: Rafael J. Wysocki
Date: Thu May 14 2015 - 19:36:55 EST


On Saturday, May 02, 2015 09:09:35 PM Hanjun Guo wrote:
> On 2015å05æ01æ 18:27, Lorenzo Pieralisi wrote:
> > The ACPI procfs power interface is initialized by compilation units
> > that are only selectable on X86 platforms. Since its usage is
> > deprecated and it cannot even be used on platforms other than X86
> > it should be compiled in only on X86 platforms.
> >
> > This patch makes CONFIG_ACPI_PROCFS_POWER dependent on X86, so
> > that other architectures are prevented from compiling it in for
> > no purpose.
> >
> > Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx>
> > Cc: Hanjun Guo <hanjun.guo@xxxxxxxxxx>
> > Cc: Lan Tianyu <tianyu.lan@xxxxxxxxx>
> > Cc: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>
>
> I think this proc fs was not used for IA64 (it is
> for server platform) too.
>
> Acked-by: Hanjun Guo <hanjun.guo@xxxxxxxxxx>

Queued up for 4.2, thanks!


--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/