From: Jack Steiner Date: Thu, 31 Aug 2006 16:34:47 +0000 (-0500) Subject: [IA64] Save register stack contents on cpu start X-Git-Tag: v2.6.18-rc7~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1c7d67073e2d196597f541351bc9b109c8a93528;p=linux-2.6-omap-h63xx.git [IA64] Save register stack contents on cpu start The SN PROM uses the register stack in the slave loop. The contents must be preserved for the OS to return to the slave loop via offlining a cpu or for kexec. A 'flushrs" is needed to force the stack to be written to memory prior to changing bspstore. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S index 29236f0c62b..44d540efa6d 100644 --- a/arch/ia64/kernel/head.S +++ b/arch/ia64/kernel/head.S @@ -197,6 +197,11 @@ start_ap: ;; srlz.i ;; + { + flushrs // must be first insn in group + srlz.i + } + ;; /* * Save the region registers, predicate before they get clobbered */