]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/module.c
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / module.c
index 7ff292475269f10fb1e1e4ad85270587c4756d15..43e7e3a7f130220bdd56122c1560d42484a6db80 100644 (file)
@@ -78,6 +78,12 @@ int module_finalize(const Elf_Ehdr *hdr,
                                  (void *)sect->sh_addr,
                                  (void *)sect->sh_addr + sect->sh_size);
 
+       sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup");
+       if (sect != NULL)
+               do_feature_fixups(cur_cpu_spec->mmu_features,
+                                 (void *)sect->sh_addr,
+                                 (void *)sect->sh_addr + sect->sh_size);
+
 #ifdef CONFIG_PPC64
        sect = find_section(hdr, sechdrs, "__fw_ftr_fixup");
        if (sect != NULL)