diff --git a/arch/arm/core/aarch64/mmu/arm_mmu.c b/arch/arm/core/aarch64/mmu/arm_mmu.c
index 36f30f8525ce6cd7c1159e3a31231cb8d8e136fe..d8b64649392929be207f238dc952bde95ef08fa7 100644
--- a/arch/arm/core/aarch64/mmu/arm_mmu.c
+++ b/arch/arm/core/aarch64/mmu/arm_mmu.c
@@ -223,7 +223,7 @@ static int set_mapping(struct arm_mmu_ptables *ptables,
 	k_spinlock_key_t key;
 	int ret = 0;
 
-	key = k_spin_lock(&xlat_lock);
+	/* key = k_spin_lock(&xlat_lock); */
 
 	while (size) {
 		__ASSERT(level <= XLAT_LAST_LEVEL,
@@ -300,7 +300,7 @@ move_on:
 		level = BASE_XLAT_LEVEL;
 	}
 
-	k_spin_unlock(&xlat_lock, key);
+	/* k_spin_unlock(&xlat_lock, key); */
 
 	return ret;
 }