Skip to content

Commit ab635e7

Browse files
Tim Abbotttorvalds
authored andcommitted
parisc: Remove useless altinstructions code copied from x86.
Signed-off-by: Tim Abbott <tabbott@ksplice.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Helge Deller <deller@gmx.de> Cc: linux-parisc@vger.kernel.org Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 57a8e11 commit ab635e7

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

‎arch/parisc/kernel/vmlinux.lds.S‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -135,31 +135,6 @@ SECTIONS
135135
INIT_TEXT_SECTION(16384)
136136
INIT_DATA_SECTION(16)
137137

138-
/* alternate instruction replacement. This is a mechanism x86 uses
139-
* to detect the CPU type and replace generic instruction sequences
140-
* with CPU specific ones. We don't currently do this in PA, but
141-
* it seems like a good idea...
142-
*/
143-
. = ALIGN(4);
144-
.altinstructions : {
145-
__alt_instructions = .;
146-
*(.altinstructions)
147-
__alt_instructions_end = .;
148-
}
149-
.altinstr_replacement : {
150-
*(.altinstr_replacement)
151-
}
152-
153-
/* .exit.text is discard at runtime, not link time, to deal with references
154-
* from .altinstructions and .eh_frame
155-
*/
156-
.exit.text : {
157-
EXIT_TEXT
158-
}
159-
.exit.data : {
160-
EXIT_DATA
161-
}
162-
163138
PERCPU(PAGE_SIZE)
164139
. = ALIGN(PAGE_SIZE);
165140
__init_end = .;

0 commit comments

Comments
 (0)