summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/module.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-14 07:29:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-14 07:29:29 -0700
commit7ac992ef615c66a05ebb831915935e83c0ec8e05 (patch)
tree0bef479fccb4e73733fab628dc525a5959bba925 /arch/microblaze/kernel/module.c
parent6a251b0ab67989f468f4cb65179e0cf40cf8c295 (diff)
parenta5e48b88da225580394f825ffe67e444b050074b (diff)
downloadop-kernel-dev-7ac992ef615c66a05ebb831915935e83c0ec8e05.zip
op-kernel-dev-7ac992ef615c66a05ebb831915935e83c0ec8e05.tar.gz
Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze
* 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze: microblaze: Fix module loading on system with WB cache microblaze: export assembly functions used by modules microblaze: Remove powerpc code from Microblaze port microblaze: Remove compilation warnings in cache macro microblaze: export assembly functions used by modules microblaze: fix get_user/put_user side-effects microblaze: re-enable interrupts before calling schedule
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 cbecf11..0e73f66 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;
}
OpenPOWER on IntegriCloud