ARM: nommu: add stub local_flush_bp_all() for !CONFIG_MMUU
authorJonathan Austin <jonathan.austin@arm.com>
Wed, 24 Apr 2013 10:56:09 +0000 (11:56 +0100)
committerJonathan Austin <jonathan.austin@arm.com>
Fri, 7 Jun 2013 16:02:46 +0000 (17:02 +0100)
commit8d655d835bc5c0cb7d485d147ba96249e356a697
tree5df4992067afb8f79282bd4b7def078e2579bb32
parent8006b4d1a7c70f27a87cb753b5ed90483f0cfe26
ARM: nommu: add stub local_flush_bp_all() for !CONFIG_MMUU

Since the merging of Will's tlb-ops branch, specifically 89c7e4b8bbb3
(ARM: 7661/1: mm: perform explicit branch predictor maintenance when required),
building SMP without CONFIG_MMU has been broken.

The local_flush_bp_all function is only called for operations related to
changing the kernel's view of memory and ASID rollover - both of which are
irrelevant to an !MMU kernel.

This patch adds a stub local_flush_bp_all() function to the other tlb
maintenance stubs and restores the ability to build an SMP !MMU kernel.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/tlbflush.h