diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-06 01:27:28 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:50 -0500 |
commit | 45fec05f805a113372c9a7ff4c653ac749f6921c (patch) | |
tree | 36fc99d10656775acb8e9442719447d64ac30a03 /include | |
parent | 314981ac7177a933319e3c071a5cf0a579205e6e (diff) |
[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 'include')
-rw-r--r-- | include/asm-sparc64/cpudata.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sparc64/cpudata.h b/include/asm-sparc64/cpudata.h index 8666440c89af..998145b92653 100644 --- a/include/asm-sparc64/cpudata.h +++ b/include/asm-sparc64/cpudata.h | |||
@@ -78,6 +78,12 @@ struct gl_1insn_patch_entry { | |||
78 | unsigned int insn; | 78 | unsigned int insn; |
79 | }; | 79 | }; |
80 | extern struct gl_1insn_patch_entry __gl_1insn_patch, __gl_1insn_patch_end; | 80 | extern struct gl_1insn_patch_entry __gl_1insn_patch, __gl_1insn_patch_end; |
81 | |||
82 | struct gl_2insn_patch_entry { | ||
83 | unsigned int addr; | ||
84 | unsigned int insns[2]; | ||
85 | }; | ||
86 | extern struct gl_2insn_patch_entry __gl_2insn_patch, __gl_2insn_patch_end; | ||
81 | #endif /* !(__ASSEMBLY__) */ | 87 | #endif /* !(__ASSEMBLY__) */ |
82 | 88 | ||
83 | #define TRAP_PER_CPU_THREAD 0x00 | 89 | #define TRAP_PER_CPU_THREAD 0x00 |