Forum | Documentation | Website | Blog

Skip to content
  • Roman Zippel's avatar
    [PATCH] flush icache in correct context · ae92ef8a
    Roman Zippel authored
    
    
    flush_icache_range() is used in two different situation - in binfmt_elf.c &
    co for user space mappings and module.c for kernel modules.  On m68k
    flush_icache_range() doesn't know which data to flush, as it has separate
    address spaces and the pointer argument can be valid in either address
    space.
    
    First I considered splitting flush_icache_range(), but this patch is
    simpler.  Setting the correct context gives flush_icache_range() enough
    information to flush the correct data.
    
    Signed-off-by: default avatarAndrew Morton <[email protected]>
    Signed-off-by: default avatarLinus Torvalds <[email protected]>
    ae92ef8a
Loading