[IA64] Fix mca handler so as not to destroy ar
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 31 Jul 2008 03:25:50 +0000 (12:25 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 31 Jul 2008 03:25:50 +0000 (12:25 +0900)
commitd08cf58c276ef6b66136d124fce8b8f3f96a1f6f
tree0e106df93787a04c7f1657f789b0f40fd37e091e
parentf6b4582a331b7f4b496920e9e52bcb6d51006121
[IA64] Fix mca handler so as not to destroy ar

This patchf ixes the mca handler so as not to destroy ar
and some bugs.
On mca the firmware saves non-banked and banked general registers
and the most of ar registers must be unchanged.
However before ia64_os_mca_proc_state_dump saves such registers,
the cited hunks unconditionally overwrite ar.k[36] so that
they are destroyed.

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
xen/arch/ia64/linux-xen/mca_asm.S
xen/arch/ia64/xen/regionreg.c
xen/include/asm-ia64/linux-xen/asm/mca_asm.h
xen/include/asm-ia64/regionreg.h