Re: [PATCH v2] x86/PCI: ensure to_pci_sysdata usage is available to !CONFIG_PCI

From: Christoph Hellwig
Date: Tue Feb 04 2020 - 01:06:11 EST


On Mon, Feb 03, 2020 at 10:53:06PM +0100, Jason A. Donenfeld wrote:
> Recently, the helper to_pci_sysdata was added inside of the CONFIG_PCI
> guard, but it is used from inside of a CONFIG_NUMA guard, which does not
> require CONFIG_PCI. This breaks builds on !CONFIG_PCI machines. This
> commit makes that function available in all configurations.
>
> Signed-off-by: Jason A. Donenfeld <Jason@xxxxxxxxx>
> Fixes: aad6aa0cd674 ("x86/PCI: Add to_pci_sysdata() helper")
> Cc: Christoph Hellwig <hch@xxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>