]> Zhao Yanbai Git Server - minix.git/commitdiff
arm:vm map free running clock uncached. 36/836/2
authorKees Jongenburger <kees.jongenburger@gmail.com>
Tue, 10 Sep 2013 09:29:19 +0000 (11:29 +0200)
committerGerrit Code Review <gerrit@gerrit>
Thu, 26 Sep 2013 07:08:13 +0000 (09:08 +0200)
kernel/arch/earm/memory.c

index f1afdcab066173893dc07accc1c247a7ef219dd6..ad61ace3850474020f52394ef016c0de30af2baa 100644 (file)
@@ -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){