vdso.c (7a9787e1eba95a166265e6a260cf30af04ef0a99) vdso.c (7c03d653cd257793dc40520c94e229b5fd0578e7)
1/*
2 * Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp.
3 * <benh@kernel.crashing.org>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

--- 553 unchanged lines hidden (view full) ---

562 void *start64;
563 unsigned long size64;
564
565 start64 = find_section64(v64->hdr, "__ftr_fixup", &size64);
566 if (start64)
567 do_feature_fixups(cur_cpu_spec->cpu_features,
568 start64, start64 + size64);
569
1/*
2 * Copyright (C) 2004 Benjamin Herrenschmidt, IBM Corp.
3 * <benh@kernel.crashing.org>
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

--- 553 unchanged lines hidden (view full) ---

562 void *start64;
563 unsigned long size64;
564
565 start64 = find_section64(v64->hdr, "__ftr_fixup", &size64);
566 if (start64)
567 do_feature_fixups(cur_cpu_spec->cpu_features,
568 start64, start64 + size64);
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);
571 if (start64)
572 do_feature_fixups(powerpc_firmware_features,
573 start64, start64 + size64);
574
575 start64 = find_section64(v64->hdr, "__lwsync_fixup", &size64);
576 if (start64)
577 do_lwsync_fixups(cur_cpu_spec->cpu_features,
578 start64, start64 + size64);
579#endif /* CONFIG_PPC64 */
580
581 start32 = find_section32(v32->hdr, "__ftr_fixup", &size32);
582 if (start32)
583 do_feature_fixups(cur_cpu_spec->cpu_features,
584 start32, start32 + size32);
585
575 start64 = find_section64(v64->hdr, "__fw_ftr_fixup", &size64);
576 if (start64)
577 do_feature_fixups(powerpc_firmware_features,
578 start64, start64 + size64);
579
580 start64 = find_section64(v64->hdr, "__lwsync_fixup", &size64);
581 if (start64)
582 do_lwsync_fixups(cur_cpu_spec->cpu_features,
583 start64, start64 + size64);
584#endif /* CONFIG_PPC64 */
585
586 start32 = find_section32(v32->hdr, "__ftr_fixup", &size32);
587 if (start32)
588 do_feature_fixups(cur_cpu_spec->cpu_features,
589 start32, start32 + size32);
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
587 start32 = find_section32(v32->hdr, "__fw_ftr_fixup", &size32);
588 if (start32)
589 do_feature_fixups(powerpc_firmware_features,
590 start32, start32 + size32);
591#endif /* CONFIG_PPC64 */
592
593 start32 = find_section32(v32->hdr, "__lwsync_fixup", &size32);

--- 214 unchanged lines hidden ---
596#ifdef CONFIG_PPC64
597 start32 = find_section32(v32->hdr, "__fw_ftr_fixup", &size32);
598 if (start32)
599 do_feature_fixups(powerpc_firmware_features,
600 start32, start32 + size32);
601#endif /* CONFIG_PPC64 */
602
603 start32 = find_section32(v32->hdr, "__lwsync_fixup", &size32);

--- 214 unchanged lines hidden ---