From: Kees Jongenburger Date: Tue, 10 Sep 2013 09:29:19 +0000 (+0200) Subject: arm:vm map free running clock uncached. X-Git-Tag: v3.3.0~785 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/invmod.png?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F836%2F2;p=minix.git arm:vm map free running clock uncached. --- 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){