mips-export-flush_icache_range.patch removed from -mm tree
Subject: [merged] mips-export-flush_icache_range.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 21 Apr 2014 11:11:07 -0700
The patch titled
Subject: mips: export flush_icache_range
has been removed from the -mm tree. Its filename was
mips-export-flush_icache_range.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Kees Cook <[email protected]>
Subject: mips: export flush_icache_range
The lkdtm module performs tests against executable memory ranges, so it needs to flush the icache for proper behaviors. Other architectures already export this, so do the same for MIPS.
---
arch/mips/mm/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/mips/mm/cache.c renamed from arch/mips/mm/cache.c~mips-export-flush_icache_range +1 -1
@@ -29,15 +29,15 @@ void (*flush_cache_range)(struct vm_areavoid (*flush_cache_page)(struct vm_area_struct *vma,unsigned long page,unsigned long pfn);void (*flush_icache_range)(unsigned long start,unsigned long end); +EXPORT_SYMBOL_GPL (flush_icache_range);void (*local_flush_icache_range)(unsigned long start,unsigned long end);void (*__flush_cache_vmap)(void );void (*__flush_cache_vunmap)(void );void (*__flush_kernel_vmap_range)(unsigned long vaddr,int size); -void (*__invalidate_kernel_vmap_range)(unsigned long vaddr,int size);