diff options
| author | Robert Richter <robert.richter@amd.com> | 2010-10-15 06:45:00 -0400 |
|---|---|---|
| committer | Robert Richter <robert.richter@amd.com> | 2010-10-15 06:45:00 -0400 |
| commit | 6268464b370e234e0255330190f9bd5d19386ad7 (patch) | |
| tree | 5742641092ce64227dd2086d78baaede57da1f80 /arch/sparc/kernel/module.c | |
| parent | 7df01d96b295e400167e78061b81d4c91630b12d (diff) | |
| parent | 0fdf13606b67f830559abdaad15980c7f4f05ec4 (diff) | |
Merge remote branch 'tip/perf/core' into oprofile/core
Conflicts:
arch/arm/oprofile/common.c
kernel/perf_event.c
Diffstat (limited to 'arch/sparc/kernel/module.c')
| -rw-r--r-- | arch/sparc/kernel/module.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/kernel/module.c b/arch/sparc/kernel/module.c index f848aadf54dc..ee3c7dde8d9f 100644 --- a/arch/sparc/kernel/module.c +++ b/arch/sparc/kernel/module.c | |||
| @@ -18,6 +18,9 @@ | |||
| 18 | #include <asm/spitfire.h> | 18 | #include <asm/spitfire.h> |
| 19 | 19 | ||
| 20 | #ifdef CONFIG_SPARC64 | 20 | #ifdef CONFIG_SPARC64 |
| 21 | |||
| 22 | #include <linux/jump_label.h> | ||
| 23 | |||
| 21 | static void *module_map(unsigned long size) | 24 | static void *module_map(unsigned long size) |
| 22 | { | 25 | { |
| 23 | struct vm_struct *area; | 26 | struct vm_struct *area; |
| @@ -227,6 +230,9 @@ int module_finalize(const Elf_Ehdr *hdr, | |||
| 227 | const Elf_Shdr *sechdrs, | 230 | const Elf_Shdr *sechdrs, |
| 228 | struct module *me) | 231 | struct module *me) |
| 229 | { | 232 | { |
| 233 | /* make jump label nops */ | ||
| 234 | jump_label_apply_nops(me); | ||
| 235 | |||
| 230 | /* Cheetah's I-cache is fully coherent. */ | 236 | /* Cheetah's I-cache is fully coherent. */ |
| 231 | if (tlb_type == spitfire) { | 237 | if (tlb_type == spitfire) { |
| 232 | unsigned long va; | 238 | unsigned long va; |
