]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic/tlb: Guard with #ifdef CONFIG_MMU
authorWill Deacon <will.deacon@arm.com>
Fri, 24 Aug 2018 12:28:28 +0000 (13:28 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 4 Sep 2018 10:08:26 +0000 (11:08 +0100)
commit3467d04de48c9e8f06ed9262f88938d3b938c1c2
tree4dfdc8acc7b05ee33f8a9e8312a726153fc86bcb
parent77e0a4623a7dc6c49e4b731092b7a6d5605e640c
asm-generic/tlb: Guard with #ifdef CONFIG_MMU

The inner workings of the mmu_gather-based TLB invalidation mechanism
are not relevant to nommu configurations, so guard them with an #ifdef.
This allows us to implement future functions using static inlines
without breaking the build.

Acked-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
include/asm-generic/tlb.h