diff options
Diffstat (limited to 'arch/powerpc/kernel/vdso.c')
-rw-r--r-- | arch/powerpc/kernel/vdso.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index 65639a43e644..e619d424f73d 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c | |||
@@ -567,6 +567,11 @@ static __init int vdso_fixup_features(struct lib32_elfinfo *v32, | |||
567 | do_feature_fixups(cur_cpu_spec->cpu_features, | 567 | do_feature_fixups(cur_cpu_spec->cpu_features, |
568 | start64, start64 + size64); | 568 | start64, start64 + size64); |
569 | 569 | ||
570 | start64 = find_section64(v64->hdr, "__mmu_ftr_fixup", &size64); | ||
571 | if (start64) | ||
572 | do_feature_fixups(cur_cpu_spec->mmu_features, | ||
573 | start64, start64 + size64); | ||
574 | |||
570 | start64 = find_section64(v64->hdr, "__fw_ftr_fixup", &size64); | 575 | start64 = find_section64(v64->hdr, "__fw_ftr_fixup", &size64); |
571 | if (start64) | 576 | if (start64) |
572 | do_feature_fixups(powerpc_firmware_features, | 577 | do_feature_fixups(powerpc_firmware_features, |
@@ -583,6 +588,11 @@ static __init int vdso_fixup_features(struct lib32_elfinfo *v32, | |||
583 | do_feature_fixups(cur_cpu_spec->cpu_features, | 588 | do_feature_fixups(cur_cpu_spec->cpu_features, |
584 | start32, start32 + size32); | 589 | start32, start32 + size32); |
585 | 590 | ||
591 | start32 = find_section32(v32->hdr, "__mmu_ftr_fixup", &size32); | ||
592 | if (start32) | ||
593 | do_feature_fixups(cur_cpu_spec->mmu_features, | ||
594 | start32, start32 + size32); | ||
595 | |||
586 | #ifdef CONFIG_PPC64 | 596 | #ifdef CONFIG_PPC64 |
587 | start32 = find_section32(v32->hdr, "__fw_ftr_fixup", &size32); | 597 | start32 = find_section32(v32->hdr, "__fw_ftr_fixup", &size32); |
588 | if (start32) | 598 | if (start32) |