diff options
| author | Tim Abbott <tabbott@ksplice.com> | 2009-09-24 10:36:18 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 20:16:21 -0400 |
| commit | ab635e7d499f23a5791e69e2ebbc9a40c9983d89 (patch) | |
| tree | f9dee3328c359741b9e1657746efe61e6e1d0ce1 | |
| parent | 57a8e1161e1a944823542138e61dd8f38fd9b9e8 (diff) | |
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>
| -rw-r--r-- | arch/parisc/kernel/vmlinux.lds.S | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S index 3fd66d97fcaa..775be2791bc2 100644 --- a/arch/parisc/kernel/vmlinux.lds.S +++ b/arch/parisc/kernel/vmlinux.lds.S | |||
| @@ -135,31 +135,6 @@ SECTIONS | |||
| 135 | INIT_TEXT_SECTION(16384) | 135 | INIT_TEXT_SECTION(16384) |
| 136 | INIT_DATA_SECTION(16) | 136 | INIT_DATA_SECTION(16) |
| 137 | 137 | ||
| 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 | |||
| 163 | PERCPU(PAGE_SIZE) | 138 | PERCPU(PAGE_SIZE) |
| 164 | . = ALIGN(PAGE_SIZE); | 139 | . = ALIGN(PAGE_SIZE); |
| 165 | __init_end = .; | 140 | __init_end = .; |
