ARM: 7861/1: cacheflush: consolidate single-CPU ARMv7 cache disabling code
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 18 Oct 2013 21:06:03 +0000 (22:06 +0100)
committerJon Medhurst <tixy@linaro.org>
Mon, 2 Dec 2013 12:54:17 +0000 (12:54 +0000)
commit27d55bacd5002422f8dab3ee6f941a2e23eb38c5
tree15a71af43a8cf03ff1ade892b5405460f989a00d
parent9902091e1e4aa3ff94e525c2a9ed3632698cd28f
ARM: 7861/1: cacheflush: consolidate single-CPU ARMv7 cache disabling code

Commit 39792c7cf3111d69dc4aa0923859d8b929e9039f upstream

This code is becoming duplicated in many places.  So let's consolidate
it into a handy macro that is known to be right and available for reuse.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/arm/include/asm/cacheflush.h
arch/arm/mach-vexpress/dcscb.c
arch/arm/mach-vexpress/tc2_pm.c