sparc64: Reschedule KGDB capture to a software interrupt.
commitdd6e9d0e69839cba3122a036e77cac5d217100e9
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 02:00:54 +0000 (26 19:00 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Jun 2009 03:01:15 +0000 (11 20:01 -0700)
tree8a0828b42e42696ab02cf5877b9520a1108a4807
parent9c0ec2384c31df111f4029eabd7957692c115260
sparc64: Reschedule KGDB capture to a software interrupt.

[ Upstream commit 42cc77c861e8e850e86252bb5b1e12e006261973 ]

Otherwise it might interrupt switch_to() midstream and use
half-cooked register window state.

Reported-by: Chris Torek <chris.torek@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sparc/include/asm/pil.h
arch/sparc64/kernel/kgdb.c
arch/sparc64/kernel/ttable.S
arch/sparc64/mm/ultra.S