[PATCH] iommu-common: only compile lib/iommu_common.c for Sparc64

David Miller davem at davemloft.net
Thu Sep 17 11:38:06 PDT 2015


From: Andre Przywara <andre.przywara at arm.com>
Date: Thu, 17 Sep 2015 09:40:27 +0100

> It seems the types used in this file are not really correct, but a
> fix isn't trivial.  So for the time being restrict this code to be
> compiled only when we actually need it.  Compile tested on Sparc,
> Sparc64, PPC64, ARM, ARM64, x86.

The whole reason this code gets compiled unconditionally is to
ensure it's portability so that other platforms can use it at
some point.

So I would ask that, instead of sweeping it under the rug, you
help work on fixing the problem you've uncovered.

Thanks.



More information about the linux-arm-kernel mailing list