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>
This commit is contained in:
parent
57a8e1161e
commit
ab635e7d49
@ -135,31 +135,6 @@ SECTIONS
|
|||||||
INIT_TEXT_SECTION(16384)
|
INIT_TEXT_SECTION(16384)
|
||||||
INIT_DATA_SECTION(16)
|
INIT_DATA_SECTION(16)
|
||||||
|
|
||||||
/* alternate instruction replacement. This is a mechanism x86 uses
|
|
||||||
* to detect the CPU type and replace generic instruction sequences
|
|
||||||
* with CPU specific ones. We don't currently do this in PA, but
|
|
||||||
* it seems like a good idea...
|
|
||||||
*/
|
|
||||||
. = ALIGN(4);
|
|
||||||
.altinstructions : {
|
|
||||||
__alt_instructions = .;
|
|
||||||
*(.altinstructions)
|
|
||||||
__alt_instructions_end = .;
|
|
||||||
}
|
|
||||||
.altinstr_replacement : {
|
|
||||||
*(.altinstr_replacement)
|
|
||||||
}
|
|
||||||
|
|
||||||
/* .exit.text is discard at runtime, not link time, to deal with references
|
|
||||||
* from .altinstructions and .eh_frame
|
|
||||||
*/
|
|
||||||
.exit.text : {
|
|
||||||
EXIT_TEXT
|
|
||||||
}
|
|
||||||
.exit.data : {
|
|
||||||
EXIT_DATA
|
|
||||||
}
|
|
||||||
|
|
||||||
PERCPU(PAGE_SIZE)
|
PERCPU(PAGE_SIZE)
|
||||||
. = ALIGN(PAGE_SIZE);
|
. = ALIGN(PAGE_SIZE);
|
||||||
__init_end = .;
|
__init_end = .;
|
||||||
|
Loading…
Reference in New Issue
Block a user