]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/s390/include/asm/ptrace.h
[S390] ptrace: no extern declarations for userspace
[linux-2.6-omap-h63xx.git] / arch / s390 / include / asm / ptrace.h
index 560ce8561dfdc8b248826d814f1126cf29880aca..8920025c3c02ed3bb95919861bf4b16b823a731f 100644 (file)
@@ -272,12 +272,15 @@ typedef struct
 #define PSW_ASC_SECONDARY      0x0000800000000000UL
 #define PSW_ASC_HOME           0x0000C00000000000UL
 
-extern long psw_user32_bits;
-
 #endif /* __s390x__ */
 
+#ifdef __KERNEL__
 extern long psw_kernel_bits;
 extern long psw_user_bits;
+#ifdef CONFIG_64BIT
+extern long psw_user32_bits;
+#endif
+#endif
 
 /* This macro merges a NEW PSW mask specified by the user into
    the currently active PSW mask CURRENT, modifying only those
@@ -321,8 +324,8 @@ struct pt_regs
        psw_t psw;
        unsigned long gprs[NUM_GPRS];
        unsigned long orig_gpr2;
+       unsigned short svcnr;
        unsigned short ilc;
-       unsigned short trap;
 };
 #endif