module.c (7a9787e1eba95a166265e6a260cf30af04ef0a99) | module.c (7c03d653cd257793dc40520c94e229b5fd0578e7) |
---|---|
1/* Kernel module help for powerpc. 2 Copyright (C) 2001, 2003 Rusty Russell IBM Corporation. 3 Copyright (C) 2008 Freescale Semiconductor, Inc. 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. --- 64 unchanged lines hidden (view full) --- 73 74 /* Apply feature fixups */ 75 sect = find_section(hdr, sechdrs, "__ftr_fixup"); 76 if (sect != NULL) 77 do_feature_fixups(cur_cpu_spec->cpu_features, 78 (void *)sect->sh_addr, 79 (void *)sect->sh_addr + sect->sh_size); 80 | 1/* Kernel module help for powerpc. 2 Copyright (C) 2001, 2003 Rusty Russell IBM Corporation. 3 Copyright (C) 2008 Freescale Semiconductor, Inc. 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. --- 64 unchanged lines hidden (view full) --- 73 74 /* Apply feature fixups */ 75 sect = find_section(hdr, sechdrs, "__ftr_fixup"); 76 if (sect != NULL) 77 do_feature_fixups(cur_cpu_spec->cpu_features, 78 (void *)sect->sh_addr, 79 (void *)sect->sh_addr + sect->sh_size); 80 |
81 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); 82 if (sect != NULL) 83 do_feature_fixups(cur_cpu_spec->mmu_features, 84 (void *)sect->sh_addr, 85 (void *)sect->sh_addr + sect->sh_size); 86 |
|
81#ifdef CONFIG_PPC64 82 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); 83 if (sect != NULL) 84 do_feature_fixups(powerpc_firmware_features, 85 (void *)sect->sh_addr, 86 (void *)sect->sh_addr + sect->sh_size); 87#endif 88 --- 13 unchanged lines hidden --- | 87#ifdef CONFIG_PPC64 88 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); 89 if (sect != NULL) 90 do_feature_fixups(powerpc_firmware_features, 91 (void *)sect->sh_addr, 92 (void *)sect->sh_addr + sect->sh_size); 93#endif 94 --- 13 unchanged lines hidden --- |