Skip to content

Commit 88ddb81

Browse files
nelhagetorvalds
authored andcommitted
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 <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>
1 parent 3530c18 commit 88ddb81

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/frv/kernel/vmlinux.lds.S

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@ SECTIONS
5151
.con_initcall.init : { *(.con_initcall.init) }
5252
__con_initcall_end = .;
5353
SECURITY_INIT
54-
. = ALIGN(4);
55-
__alt_instructions = .;
56-
.altinstructions : { *(.altinstructions) }
57-
__alt_instructions_end = .;
58-
.altinstr_replacement : { *(.altinstr_replacement) }
5954

6055
PERCPU(4096)
6156

0 commit comments

Comments
 (0)