mm, x86: Add ARCH_HAS_ZONE_DEVICE to Kconfig
authorOliver O'Halloran <oohall@gmail.com>
Wed, 28 Jun 2017 01:32:31 +0000 (11:32 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 2 Jul 2017 10:40:26 +0000 (20:40 +1000)
commit65f7d049788763969180c72ef98dab8bf0340c55
treef53c38c22b3dff69a7d010e08091f184552d0e19
parent7a849a6cf3ff676d1726259c18fa413f9e0c62a3
mm, x86: Add ARCH_HAS_ZONE_DEVICE to Kconfig

Currently ZONE_DEVICE depends on X86_64 and this will get unwieldly as
new architectures (and platforms) get ZONE_DEVICE support. Move to an
arch selected Kconfig option to save us the trouble.

Cc: linux-mm@kvack.org
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/x86/Kconfig
mm/Kconfig