patch-2.3.18 linux/include/asm-sparc64/signal.h
Next file: linux/include/asm-sparc64/smplock.h
Previous file: linux/include/asm-sparc64/sigcontext.h
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
Wed Sep 8 11:14:32 1999
- Orig file:
v2.3.17/linux/include/asm-sparc64/signal.h
- Orig date:
Tue Aug 4 16:03:35 1998
diff -u --recursive --new-file v2.3.17/linux/include/asm-sparc64/signal.h linux/include/asm-sparc64/signal.h
@@ -1,4 +1,4 @@
-/* $Id: signal.h,v 1.8 1998/07/29 16:32:39 jj Exp $ */
+/* $Id: signal.h,v 1.9 1999/09/06 08:22:11 jj Exp $ */
#ifndef _ASMSPARC64_SIGNAL_H
#define _ASMSPARC64_SIGNAL_H
@@ -196,7 +196,7 @@
/* Type of a signal handler. */
#ifdef __KERNEL__
-typedef void (*__sighandler_t)(int, int, struct sigcontext *, char *);
+typedef void (*__sighandler_t)(int, struct sigcontext *);
#else
typedef void (*__sighandler_t)(int);
#endif
@@ -219,10 +219,12 @@
__new_sigset_t32 sa_mask;
};
+#ifdef __KERNEL__
struct k_sigaction {
struct __new_sigaction sa;
void *ka_restorer;
};
+#endif
struct __old_sigaction {
__sighandler_t sa_handler;
@@ -239,16 +241,18 @@
};
typedef struct sigaltstack {
- void *ss_sp;
- int ss_flags;
- __kernel_size_t ss_size;
+ void *ss_sp;
+ int ss_flags;
+ size_t ss_size;
} stack_t;
+#ifdef __KERNEL__
typedef struct sigaltstack32 {
- u32 ss_sp;
- int ss_flags;
- __kernel_size_t32 ss_size;
+ u32 ss_sp;
+ int ss_flags;
+ __kernel_size_t32 ss_size;
} stack_t32;
+#endif
#endif /* !(__ASSEMBLY__) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)