From b98441772cea2a4ce7a00497d800c52bfe95d644 Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Tue, 10 Sep 2013 11:29:19 +0200 Subject: [PATCH] arm:vm map free running clock uncached. --- kernel/arch/earm/memory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/arch/earm/memory.c b/kernel/arch/earm/memory.c index f1afdcab0..ad61ace38 100644 --- a/kernel/arch/earm/memory.c +++ b/kernel/arch/earm/memory.c @@ -741,11 +741,10 @@ int arch_phys_map(const int index, *addr = AM335X_DMTIMER7_BASE; #endif *len = ARM_PAGE_SIZE; - *flags = VMMF_USER; + *flags = VMMF_UNCACHED | VMMF_USER; return OK; } /* if this all fails loop over the maps */ - /* list over the maps and index them */ phys_maps = kern_phys_map_head; while(phys_maps != NULL){ if(phys_maps->index == index){ -- 2.44.0