diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-06-10 14:46:48 +0200 | 
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-06-10 14:46:57 +0200 | 
| commit | 5be5758c114b18260c6fd4c8373bf89e39b0fe82 (patch) | |
| tree | 54390f904df6ff11e570f764c444356cf2709fda /arch/tile/kernel/module.c | |
| parent | 71f66a6580c4e42df377bebbcca5c72661a40700 (diff) | |
| parent | 7f45e5cd1718ed769295033ca214032848a0097d (diff) | |
| download | olio-linux-3.10-5be5758c114b18260c6fd4c8373bf89e39b0fe82.tar.xz olio-linux-3.10-5be5758c114b18260c6fd4c8373bf89e39b0fe82.zip  | |
Merge branch 'master' into for-next
Sync with Linus' tree to be able to apply patches against new
code I have in queue.
Diffstat (limited to 'arch/tile/kernel/module.c')
| -rw-r--r-- | arch/tile/kernel/module.c | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/tile/kernel/module.c b/arch/tile/kernel/module.c index e2ab82b7c7e..f68df69f1f6 100644 --- a/arch/tile/kernel/module.c +++ b/arch/tile/kernel/module.c @@ -22,6 +22,7 @@  #include <linux/kernel.h>  #include <asm/opcode-tile.h>  #include <asm/pgtable.h> +#include <asm/homecache.h>  #ifdef __tilegx__  # define Elf_Rela Elf64_Rela @@ -86,8 +87,13 @@ error:  void module_free(struct module *mod, void *module_region)  {  	vfree(module_region); + +	/* Globally flush the L1 icache. */ +	flush_remote(0, HV_FLUSH_EVICT_L1I, cpu_online_mask, +		     0, 0, 0, NULL, NULL, 0); +  	/* -	 * FIXME: If module_region == mod->init_region, trim exception +	 * FIXME: If module_region == mod->module_init, trim exception  	 * table entries.  	 */  }  |