aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/ttable.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-04 03:10:01 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:11:36 -0500
commit314ef6859750b6539eac48d78059bb7986f29cb1 (patch)
tree26c7da386349c1cf377225356e1012ae62da6f07 /arch/sparc64/kernel/ttable.S
parentffe483d55229fadbaf4cc7316d47024a24ecd1a2 (diff)
[SPARC64]: Refine register window trap handling.
When saving and restoing trap state, do the window spill/fill handling inline so that we never trap deeper than 2 trap levels. This is important for chips like Niagara. The window fixup code is massively simplified, and many more improvements are now possible. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/ttable.S')
-rw-r--r--arch/sparc64/kernel/ttable.S16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/sparc64/kernel/ttable.S b/arch/sparc64/kernel/ttable.S
index 99531424c598..2679b6e253ae 100644
--- a/arch/sparc64/kernel/ttable.S
+++ b/arch/sparc64/kernel/ttable.S
@@ -92,11 +92,11 @@ tl0_resv07c: BTRAP(0x7c) BTRAP(0x7d) BTRAP(0x7e) BTRAP(0x7f)
92tl0_s0n: SPILL_0_NORMAL 92tl0_s0n: SPILL_0_NORMAL
93tl0_s1n: SPILL_1_NORMAL 93tl0_s1n: SPILL_1_NORMAL
94tl0_s2n: SPILL_2_NORMAL 94tl0_s2n: SPILL_2_NORMAL
95tl0_s3n: SPILL_3_NORMAL 95tl0_s3n: SPILL_0_NORMAL_ETRAP
96tl0_s4n: SPILL_4_NORMAL 96tl0_s4n: SPILL_1_GENERIC_ETRAP
97tl0_s5n: SPILL_5_NORMAL 97tl0_s5n: SPILL_1_GENERIC_ETRAP_FIXUP
98tl0_s6n: SPILL_6_NORMAL 98tl0_s6n: SPILL_2_GENERIC_ETRAP
99tl0_s7n: SPILL_7_NORMAL 99tl0_s7n: SPILL_2_GENERIC_ETRAP_FIXUP
100tl0_s0o: SPILL_0_OTHER 100tl0_s0o: SPILL_0_OTHER
101tl0_s1o: SPILL_1_OTHER 101tl0_s1o: SPILL_1_OTHER
102tl0_s2o: SPILL_2_OTHER 102tl0_s2o: SPILL_2_OTHER
@@ -110,9 +110,9 @@ tl0_f1n: FILL_1_NORMAL
110tl0_f2n: FILL_2_NORMAL 110tl0_f2n: FILL_2_NORMAL
111tl0_f3n: FILL_3_NORMAL 111tl0_f3n: FILL_3_NORMAL
112tl0_f4n: FILL_4_NORMAL 112tl0_f4n: FILL_4_NORMAL
113tl0_f5n: FILL_5_NORMAL 113tl0_f5n: FILL_0_NORMAL_RTRAP
114tl0_f6n: FILL_6_NORMAL 114tl0_f6n: FILL_1_GENERIC_RTRAP
115tl0_f7n: FILL_7_NORMAL 115tl0_f7n: FILL_2_GENERIC_RTRAP
116tl0_f0o: FILL_0_OTHER 116tl0_f0o: FILL_0_OTHER
117tl0_f1o: FILL_1_OTHER 117tl0_f1o: FILL_1_OTHER
118tl0_f2o: FILL_2_OTHER 118tl0_f2o: FILL_2_OTHER