diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-14 10:29:29 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-14 10:29:29 -0400 |
| commit | 7ac992ef615c66a05ebb831915935e83c0ec8e05 (patch) | |
| tree | 0bef479fccb4e73733fab628dc525a5959bba925 /arch/microblaze/kernel/module.c | |
| parent | 6a251b0ab67989f468f4cb65179e0cf40cf8c295 (diff) | |
| parent | a5e48b88da225580394f825ffe67e444b050074b (diff) | |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/module.c b/arch/microblaze/kernel/module.c index cbecf110dc30..0e73f6606547 100644 --- a/arch/microblaze/kernel/module.c +++ b/arch/microblaze/kernel/module.c | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include <linux/string.h> | 16 | #include <linux/string.h> |
| 17 | 17 | ||
| 18 | #include <asm/pgtable.h> | 18 | #include <asm/pgtable.h> |
| 19 | #include <asm/cacheflush.h> | ||
| 19 | 20 | ||
| 20 | void *module_alloc(unsigned long size) | 21 | void *module_alloc(unsigned long size) |
| 21 | { | 22 | { |
| @@ -151,6 +152,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, | |||
| 151 | int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, | 152 | int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, |
| 152 | struct module *module) | 153 | struct module *module) |
| 153 | { | 154 | { |
| 155 | flush_dcache(); | ||
| 154 | return 0; | 156 | return 0; |
| 155 | } | 157 | } |
| 156 | 158 | ||
