summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-04-25 16:32:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-04-29 08:58:37 +0200
commit1c519861a3d6b37c71e087f5263b51c96e68b392 (patch)
tree58a7a4011bc68746c89c44f9a335f17d3990a35f /arch/arm
parenta44ddaad6928885d5070255d3b0a2765e2227684 (diff)
downloadbarebox-1c519861a3d6b37c71e087f5263b51c96e68b392.tar.gz
barebox-1c519861a3d6b37c71e087f5263b51c96e68b392.tar.xz
ARM: mmu: remove doubly defined macro
PMD_SECT_DEF_CACHED is defined along with PMD_SECT_DEF_UNCACHED in mmu.h, which is included two lines prior. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/mmu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c
index 29816ad563..ed27d1e4b6 100644
--- a/arch/arm/cpu/mmu.c
+++ b/arch/arm/cpu/mmu.c
@@ -34,7 +34,6 @@
#include "mmu.h"
-#define PMD_SECT_DEF_CACHED (PMD_SECT_WB | PMD_SECT_DEF_UNCACHED)
#define PTRS_PER_PTE (PGDIR_SIZE / PAGE_SIZE)
#define ARCH_MAP_WRITECOMBINE ((unsigned)-1)