mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
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 <jlu@pengutronix.de> Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
This commit is contained in:
parent
921a3fe5be
commit
1a85cb4b0d
@ -41,7 +41,7 @@
|
||||
#define AURORA_ACR_FORCE_WRITE_THRO_POLICY \
|
||||
(2 << AURORA_ACR_FORCE_WRITE_POLICY_OFFSET)
|
||||
|
||||
#define MAX_RANGE_SIZE 1024
|
||||
#define AURORA_MAX_RANGE_SIZE 1024
|
||||
|
||||
#define AURORA_WAY_SIZE_SHIFT 2
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user