[PATCH] MCA/INIT: use per cpu stacks
authorKeith Owens <kaos@sgi.com>
Sun, 11 Sep 2005 07:22:53 +0000 (17:22 +1000)
committerTony Luck <tony.luck@intel.com>
Sun, 11 Sep 2005 21:08:41 +0000 (14:08 -0700)
commit7f613c7d2203ae137d98fc1c38abc30fd7048637
treed8155a5cca33e4fe178625396886fcbb81f39e7a
parent289d773ee89ea80dcc364ef97d1be7ad1817387e
[PATCH] MCA/INIT: use per cpu stacks

The bulk of the change.  Use per cpu MCA/INIT stacks.  Change the SAL
to OS state (sos) to be per process.  Do all the assembler work on the
MCA/INIT stacks, leaving the original stack alone.  Pass per cpu state
data to the C handlers for MCA and INIT, which also means changing the
mca_drv interfaces slightly.  Lots of verification on whether the
original stack is usable before converting it to a sleeping process.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/asm-offsets.c
arch/ia64/kernel/mca.c
arch/ia64/kernel/mca_asm.S
arch/ia64/kernel/mca_drv.c
include/asm-ia64/mca.h
include/asm-ia64/mca_asm.h