linux-next: build failure after merge of the iommu tree

From: Stephen Rothwell
Date: Mon Sep 02 2019 - 02:39:56 EST


Hi all,

After merging the iommu tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/iommu/iommu.c: In function 'iommu_subsys_init':
drivers/iommu/iommu.c:123:38: error: implicit declaration of function 'sme_active'; did you mean 'cpu_active'? [-Werror=implicit-function-declaration]
123 | if (iommu_default_passthrough() && sme_active()) {
| ^~~~~~~~~~
| cpu_active

Caused by commit

2cc13bb4f59f ("iommu: Disable passthrough mode when SME is active")

sme_active() seems to be only relevant to X86.

I have reverted that commit for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpdoz9n_9dT4.pgp
Description: OpenPGP digital signature