summaryrefslogtreecommitdiff
path: root/arch/loongarch/mm/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/mm/cache.c')
-rw-r--r--arch/loongarch/mm/cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/loongarch/mm/cache.c b/arch/loongarch/mm/cache.c
index 72685a48eaf0..6be04d36ca07 100644
--- a/arch/loongarch/mm/cache.c
+++ b/arch/loongarch/mm/cache.c
@@ -156,7 +156,6 @@ void cpu_cache_init(void)
current_cpu_data.cache_leaves_present = leaf;
current_cpu_data.options |= LOONGARCH_CPU_PREFETCH;
- shm_align_mask = PAGE_SIZE - 1;
}
static const pgprot_t protection_map[16] = {