From: Nelson Elhage Date: Fri, 18 Sep 2009 19:52:07 +0000 (-0400) Subject: frv: remove unused .altinstructions code X-Git-Tag: tegra-9.12.13.ER~1589 X-Git-Url: http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=commitdiff_plain;h=88ddb81e0f56cc7b603174d9666ecc80237425a0;hp=3530c1886291df061e3972c55590777ef1cb67f8 frv: remove unused .altinstructions code It appears that frv copied the .altinstructions definitions in its linker script from x86. Since frv doesn't put anything in those sections, this is just dead code. Signed-off-by: Nelson Elhage Acked-by: David Howells Signed-off-by: Tim Abbott Acked-by: Sam Ravnborg Signed-off-by: Linus Torvalds --- diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S index 7dbf41f..cfb4181 100644 --- a/arch/frv/kernel/vmlinux.lds.S +++ b/arch/frv/kernel/vmlinux.lds.S @@ -51,11 +51,6 @@ SECTIONS .con_initcall.init : { *(.con_initcall.init) } __con_initcall_end = .; SECURITY_INIT - . = ALIGN(4); - __alt_instructions = .; - .altinstructions : { *(.altinstructions) } - __alt_instructions_end = .; - .altinstr_replacement : { *(.altinstr_replacement) } PERCPU(4096)