diff options
author | Will Deacon <will@kernel.org> | 2021-05-27 13:03:19 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-06-01 19:53:53 +0200 |
commit | 21cfe6edbadb703b674ae2ddf78862d00d24bfc5 (patch) | |
tree | 32899d9e9a98b8463c93add54b746e87e13f643e /arch/arm64/include/asm/memory.h | |
parent | arm64: acpi: Map EFI_MEMORY_WT memory as Normal-NC (diff) | |
download | linux-21cfe6edbadb703b674ae2ddf78862d00d24bfc5.tar.xz linux-21cfe6edbadb703b674ae2ddf78862d00d24bfc5.zip |
arm64: mm: Remove unused support for Normal-WT memory type
The Normal-WT memory type is unused, so remove it and reclaim a MAIR.
Cc: Christoph Hellwig <hch@lst.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210527110319.22157-4-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/memory.h')
-rw-r--r-- | arch/arm64/include/asm/memory.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/memory.h b/arch/arm64/include/asm/memory.h index 1e025e3b655e..7b360960cc35 100644 --- a/arch/arm64/include/asm/memory.h +++ b/arch/arm64/include/asm/memory.h @@ -135,9 +135,8 @@ #define MT_NORMAL 0 #define MT_NORMAL_TAGGED 1 #define MT_NORMAL_NC 2 -#define MT_NORMAL_WT 3 -#define MT_DEVICE_nGnRnE 4 -#define MT_DEVICE_nGnRE 5 +#define MT_DEVICE_nGnRnE 3 +#define MT_DEVICE_nGnRE 4 /* * Memory types for Stage-2 translation |