diff -r d6ea1b48e648 lkcd_vmdump_v1.h
--- a/lkcd_vmdump_v1.h	Mon Jan  9 09:40:09 2006 -0500
+++ b/lkcd_vmdump_v1.h	Mon Jan  9 11:32:06 2006 -0500
@@ -36,6 +36,7 @@
 #ifndef IA64
 #include <asm/ptrace.h>                 /* for pt_regs                      */
 #endif
+#include "s390-ptregs.h"
 
 /* necessary header definitions in all cases */
 #define DUMP_KIOBUF_NUMBER  0xdeadbeef  /* special number for kiobuf maps   */
diff -r d6ea1b48e648 lkcd_vmdump_v2_v3.h
--- a/lkcd_vmdump_v2_v3.h	Mon Jan  9 09:40:09 2006 -0500
+++ b/lkcd_vmdump_v2_v3.h	Mon Jan  9 11:32:06 2006 -0500
@@ -52,6 +52,7 @@
 
 /* necessary header files */
 #include <asm/ptrace.h>                          /* for pt_regs             */
+#include "s390-ptregs.h"
 
 /* definitions */
 #define DUMP_ASM_MAGIC_NUMBER     0xdeaddeadULL  /* magic number            */
diff -r d6ea1b48e648 s390-ptregs.h
--- /dev/null	Thu Jan  1 00:00:00 1970 +0000
+++ b/s390-ptregs.h	Mon Jan  9 11:32:06 2006 -0500
@@ -0,0 +1,25 @@
+/*
+ *  include/asm-s390/ptrace.h
+ *
+ *  S390 version
+ *    Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
+ *    Author(s): Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)
+ */
+#ifndef _S390_PTREGS
+#define _S390_PTREGS
+#if defined(S390) || defined(S390X)
+/*
+ * The pt_regs struct defines the way the registers are stored on
+ * the stack during a system call.
+ */
+struct pt_regs
+{
+        unsigned long args[1];
+        psw_t psw;
+        unsigned long gprs[NUM_GPRS];
+        unsigned long orig_gpr2;
+        unsigned short ilc;
+        unsigned short trap;
+};
+#endif
+#endif
