]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Fix build with CONFIG_ZONE_DMA=n
authorRobin Murphy <robin.murphy@arm.com>
Tue, 27 Oct 2015 17:40:26 +0000 (17:40 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 29 Oct 2015 16:58:00 +0000 (16:58 +0000)
commit01d4a84c328406d290064a44c44e30e704e9d46f
tree7b5dc8e5b7b8e4f1b686f5a35850f4194d5c8201
parent331ccf74d92c7e1ee16e0c55a6b8cb00a9ad0c38
arm64: Fix build with CONFIG_ZONE_DMA=n

Trying to build with CONFIG_ZONE_DMA=n leaves visible references
to the now-undefined ZONE_DMA, resulting in a syntax error.

Hide the references behind an #ifdef instead of using IS_ENABLED.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/init.c