From: Jonathan Austin Date: Wed, 24 Apr 2013 10:51:38 +0000 (+0100) Subject: ARM: nommu: Don't build smp_tlb.c for !CONFIG_MMU X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2^2~5^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8006b4d1a7c70f27a87cb753b5ed90483f0cfe26;p=pandora-kernel.git 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 Acked-by: Catalin Marinas CC: Will Deacon --- Reading git-diff-tree failed