Re: [PATCH] powerpc: define empty enable_kernel_vsx() when CONFIG_VSX=n

From: Paul Mackerras
Date: Tue Sep 08 2015 - 18:47:46 EST


On Tue, Sep 08, 2015 at 12:13:11PM -0600, tim.gardner@xxxxxxxxxxxxx wrote:
> From: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
>
> commit 72cd7b44bc99 ("powerpc: Uncomment and make enable_kernel_vsx()
> routine available") neglected to define an empty inline replacement for
> enable_kernel_vsx() when CONFIG_VSX=n.

If code that wants to call enable_kernel_vsx() is getting compiled in
when CONFIG_VSX=n, that's a worry. Is this patch motivated by an
actual compile failure? If so what was the failure?

Paul.
--
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/