aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/cache-l2x0.c
diff options
context:
space:
mode:
authorJan Luebbe <[email protected]>2019-07-12 04:46:51 +0000
committerRussell King <[email protected]>2019-08-29 06:58:01 +0000
commit1a85cb4b0d2984a6d1afb03e2038855d654c9892 (patch)
tree5cccff6b9f6609611ea62cd0a310df4c199ebdd9 /arch/arm/mm/cache-l2x0.c
parentARM: 8902/1: l2c: move cache-aurora-l2.h to asm/hardware (diff)
downloadkernel-1a85cb4b0d2984a6d1afb03e2038855d654c9892.tar.gz
kernel-1a85cb4b0d2984a6d1afb03e2038855d654c9892.zip
ARM: 8887/1: aurora-l2: add prefix to MAX_RANGE_SIZE
The macro name is too generic, so add a AURORA_ prefix. Signed-off-by: Jan Luebbe <[email protected]> Reviewed-by: Gregory CLEMENT <[email protected]> Signed-off-by: Chris Packham <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'arch/arm/mm/cache-l2x0.c')
-rw-r--r--arch/arm/mm/cache-l2x0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c
index 428d08718107..83b733a1f1e6 100644
--- a/arch/arm/mm/cache-l2x0.c
+++ b/arch/arm/mm/cache-l2x0.c
@@ -1352,8 +1352,8 @@ static unsigned long aurora_range_end(unsigned long start, unsigned long end)
* since cache range operations stall the CPU pipeline
* until completion.
*/
- if (end > start + MAX_RANGE_SIZE)
- end = start + MAX_RANGE_SIZE;
+ if (end > start + AURORA_MAX_RANGE_SIZE)
+ end = start + AURORA_MAX_RANGE_SIZE;
/*
* Cache range operations can't straddle a page boundary.