[SPARC64]: Refine register window trap handling.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 4 Feb 2006 08:10:01 +0000 (00:10 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:11:36 +0000 (01:11 -0800)
commit314ef6859750b6539eac48d78059bb7986f29cb1
tree26c7da386349c1cf377225356e1012ae62da6f07
parentffe483d55229fadbaf4cc7316d47024a24ecd1a2
[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>
arch/sparc64/kernel/etrap.S
arch/sparc64/kernel/process.c
arch/sparc64/kernel/rtrap.S
arch/sparc64/kernel/tsb.S
arch/sparc64/kernel/ttable.S
arch/sparc64/kernel/winfixup.S
include/asm-sparc64/ttable.h