frv: remove unused .altinstructions code
authorNelson Elhage <nelhage@ksplice.com>
Fri, 18 Sep 2009 19:52:07 +0000 (15:52 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 18 Sep 2009 20:57:18 +0000 (13:57 -0700)
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 <nelhage@ksplice.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/vmlinux.lds.S

index 7dbf41f68b523a14f7c39b683689c51f53c99f4f..cfb41813193cb66298495e77173bfb37b4d82653 100644 (file)
@@ -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)