Skip to content

Commit

Permalink
[MIPS] Use common definitions from asm-generic/signal.h
Browse files Browse the repository at this point in the history
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Sep 27, 2006
1 parent a00f631 commit 6b3e5f4
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions include/asm-mips/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,7 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */
#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility:
set only the low 32 bit of the sigset. */

/* Type of a signal handler. */
typedef void __signalfn_t(int);
typedef __signalfn_t __user *__sighandler_t;

/* Fake signal functions */
#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

struct sigaction {
unsigned int sa_flags;
Expand Down

0 comments on commit 6b3e5f4

Please sign in to comment.