diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-06 00:29:28 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:48 -0500 |
commit | 936f482af1743141d637483ec10eb881537c26dc (patch) | |
tree | 913da89a4d9f4038c510c9ecf2f5957b0f6d167f /arch/sparc64/kernel/vmlinux.lds.S | |
parent | 6e02493a7f33ac89e698b980a657d77ab2749eaf (diff) |
[SPARC64]: Add initial code to twiddle %gl on trap entry/exit.
Instead of setting/clearing PSTATE_AG we have to change
the %gl register value on sun4v.
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.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/vmlinux.lds.S b/arch/sparc64/kernel/vmlinux.lds.S index 1639d9c935c3..482d1ed87f4d 100644 --- a/arch/sparc64/kernel/vmlinux.lds.S +++ b/arch/sparc64/kernel/vmlinux.lds.S | |||
@@ -77,6 +77,9 @@ SECTIONS | |||
77 | __cpuid_patch = .; | 77 | __cpuid_patch = .; |
78 | .cpuid_patch : { *(.cpuid_patch) } | 78 | .cpuid_patch : { *(.cpuid_patch) } |
79 | __cpuid_patch_end = .; | 79 | __cpuid_patch_end = .; |
80 | __gl_1insn_patch = .; | ||
81 | .gl_1insn_patch : { *(.gl_1insn_patch) } | ||
82 | __gl_1insn_patch_end = .; | ||
80 | . = ALIGN(8192); | 83 | . = ALIGN(8192); |
81 | __initramfs_start = .; | 84 | __initramfs_start = .; |
82 | .init.ramfs : { *(.init.ramfs) } | 85 | .init.ramfs : { *(.init.ramfs) } |