]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Require MMU_NOTIFIER to fix NPU build
authorAlistair Popple <alistair@popple.id.au>
Mon, 10 Apr 2017 05:24:35 +0000 (15:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 10 Apr 2017 21:46:03 +0000 (07:46 +1000)
commit3df525cb54f4ea007ae8d62d8c4ba62b8db0fa2d
treea83fc978557250525f43a0d06fab1008ea7f0002
parentb44ff090d6107ba95ad0542a67291af4a3668b2c
powerpc/powernv: Require MMU_NOTIFIER to fix NPU build

In the recent commit 775d3584b1e7 ("powerpc/powernv: Introduce address
translation services for Nvlink2") the NPU code gained a dependency on MMU
notifiers.

All our defconfigs have KVM enabled, which selects MMU_NOTIFIER, but if KVM is
not enabled then the build breaks.

Fix it by always selecting MMU_NOTIFIER when we're building powernv.

Fixes: 775d3584b1e7 ("powerpc/powernv: Introduce address translation services for Nvlink2")
Signed-off-by: Alistair Popple <alistair@popple.id.au>
[mpe: Reword change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/Kconfig