X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fi386%2Fkernel%2Fmodule.c;fp=arch%2Fi386%2Fkernel%2Fmodule.c;h=470cf97e7cd3104bbfd6eb2de379d0bd0be9c460;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=2c6e3bed56616afcdcad3b841c03f4112145c07f;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/arch/i386/kernel/module.c b/arch/i386/kernel/module.c index 2c6e3bed5..470cf97e7 100644 --- a/arch/i386/kernel/module.c +++ b/arch/i386/kernel/module.c @@ -125,7 +125,6 @@ int module_finalize(const Elf_Ehdr *hdr, void *aseg = (void *)alt->sh_addr; apply_alternatives(aseg, aseg + alt->sh_size); } -#ifdef CONFIG_SMP if (locks && text) { void *lseg = (void *)locks->sh_addr; void *tseg = (void *)text->sh_addr; @@ -133,13 +132,10 @@ int module_finalize(const Elf_Ehdr *hdr, lseg, lseg + locks->sh_size, tseg, tseg + text->sh_size); } -#endif return 0; } void module_arch_cleanup(struct module *mod) { -#ifdef CONFIG_SMP alternatives_smp_module_del(mod); -#endif }