Skip to content
  • Philippe Gerum's avatar
    cobalt/memory: fix __vmalloc() calls · 4d1a5b7b
    Philippe Gerum authored and Jan Kiszka's avatar Jan Kiszka committed
    
    
    Since kernel v5.8, __vmalloc() does not take protection bits as
    PROT_KERNEL is now wired in. Therefore we cannot disable the cache for
    the UMM segment via the allocation call directly anymore.
    
    This said, we don't support any CPU architecture exhibiting cache
    aliasing braindamage anymore either (was armv4/v5), so let's convert
    to the new __vmalloc() call format without bothering for cache
    settings.
    
    Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    4d1a5b7b