ARM: nommu: Don't build smp_tlb.c for !CONFIG_MMU
authorJonathan Austin <jonathan.austin@arm.com>
Wed, 24 Apr 2013 10:51:38 +0000 (11:51 +0100)
committerJonathan Austin <jonathan.austin@arm.com>
Fri, 7 Jun 2013 16:02:45 +0000 (17:02 +0100)
commit8006b4d1a7c70f27a87cb753b5ed90483f0cfe26
tree40807be9d2be7ad2becb353d2053513459e3fb5f
parentaa1aadc3305c4917c39f0291613a5ec81dd4c73b
ARM: nommu: Don't build smp_tlb.c for !CONFIG_MMU

Without an MMU we don't need to do any TLB maintenance. Until the addition
of 93dc68876b60 (ARM: 7684/1: errata: Workaround for Cortex-A15 erratum 798181
(TLBI/DSB operations)) building the tlb maintenance ops in smp_tlb.c worked,
though none of the contents were used.

Since that commit, however, SMP NOMMU has not been able to build. This patch
restores that ability by making the building of smp_tlb.c dependent on MMU.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
CC: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/Makefile
This page took 0.041646 seconds and 5 git commands to generate.