Acquire the pt_regs for kgdb IPI.

Signed-off-by: Bob Picco <[EMAIL PROTECTED]>

 arch/ia64/kernel/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.21-kgdb/arch/ia64/kernel/smp.c
===================================================================
--- linux-2.6.21-kgdb.orig/arch/ia64/kernel/smp.c       2007-05-06 
09:01:30.000000000 -0400
+++ linux-2.6.21-kgdb/arch/ia64/kernel/smp.c    2007-05-07 06:10:21.000000000 
-0400
@@ -163,7 +163,7 @@ handle_IPI (int irq, void *dev_id)
                                break;
 #ifdef CONFIG_KGDB
                              case IPI_KGDB_INTERRUPT:
-                               kgdb_wait_ipi(regs);
+                               kgdb_wait_ipi(get_irq_regs());
                                break;
 #endif
 #ifdef CONFIG_KEXEC

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to