summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/module.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2010-05-14 17:11:48 +0000
committerSteve French <sfrench@us.ibm.com>2010-05-14 17:11:48 +0000
commitade275c4b6db98ae7b197cc7c6bdd73567a975c2 (patch)
tree9953adc43c9afe95f73298470c69ea02102c2eba /arch/microblaze/kernel/module.c
parent5f65f150fbc580ccfd57e5528e1fc905aaaef65c (diff)
parent508ff9d41c9aa7e178f6330e703a22af03090dd5 (diff)
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'arch/microblaze/kernel/module.c')
-rw-r--r--arch/microblaze/kernel/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/module.c b/arch/microblaze/kernel/module.c
index cbecf110dc3..0e73f660654 100644
--- a/arch/microblaze/kernel/module.c
+++ b/arch/microblaze/kernel/module.c
@@ -16,6 +16,7 @@
#include <linux/string.h>
#include <asm/pgtable.h>
+#include <asm/cacheflush.h>
void *module_alloc(unsigned long size)
{
@@ -151,6 +152,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab,
int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs,
struct module *module)
{
+ flush_dcache();
return 0;
}