summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorDavid S. Miller2006-02-06 07:27:28 +0100
committerDavid S. Miller2006-03-20 10:11:50 +0100
commit45fec05f805a113372c9a7ff4c653ac749f6921c (patch)
tree36fc99d10656775acb8e9442719447d64ac30a03 /arch/sparc64/kernel/vmlinux.lds.S
parent[SPARC64]: Kill all %pstate changes in context switch code. (diff)
downloadkernel-qcow2-linux-45fec05f805a113372c9a7ff4c653ac749f6921c.tar.gz
kernel-qcow2-linux-45fec05f805a113372c9a7ff4c653ac749f6921c.tar.xz
kernel-qcow2-linux-45fec05f805a113372c9a7ff4c653ac749f6921c.zip
[SPARC64]: Sanitize %pstate writes for sun4v.
If we're just switching between different alternate global sets, nop it out on sun4v. Also, get rid of all of the alternate global save/restore in the OBP CIF trampoline code. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/vmlinux.lds.S')
-rw-r--r--arch/sparc64/kernel/vmlinux.lds.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/vmlinux.lds.S b/arch/sparc64/kernel/vmlinux.lds.S
index 482d1ed87f4d..686bf6b3b03f 100644
--- a/arch/sparc64/kernel/vmlinux.lds.S
+++ b/arch/sparc64/kernel/vmlinux.lds.S
@@ -80,6 +80,9 @@ SECTIONS
__gl_1insn_patch = .;
.gl_1insn_patch : { *(.gl_1insn_patch) }
__gl_1insn_patch_end = .;
+ __gl_2insn_patch = .;
+ .gl_2insn_patch : { *(.gl_2insn_patch) }
+ __gl_2insn_patch_end = .;
. = ALIGN(8192);
__initramfs_start = .;
.init.ramfs : { *(.init.ramfs) }