Skip to contentSkip to conversation

mips-export-flush_icache_range.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 21, 2014 MIPS

lore
Share & tools
lore
#0 lore raw

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.

[[email protected]: relocate export sites]
Cc Paul Gortmaker <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc Sanjay Lal <[email protected]>
Cc John Crispin <[email protected]>
Cc Sergei Shtylyov <[email protected]>

---

 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
diff -puN arch/mips/mm/cache.c~mips-export-flush_icache_range arch/mips/mm/cache.c
@@ -29,15 +29,15 @@ void (*flush_cache_range)(struct vm_area
 void (*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);