diff options
Diffstat (limited to 'include/asm-alpha')
-rw-r--r-- | include/asm-alpha/bug.h | 3 | ||||
-rw-r--r-- | include/asm-alpha/errno.h | 4 | ||||
-rw-r--r-- | include/asm-alpha/siginfo.h | 2 | ||||
-rw-r--r-- | include/asm-alpha/signal.h | 14 |
4 files changed, 7 insertions, 16 deletions
diff --git a/include/asm-alpha/bug.h b/include/asm-alpha/bug.h index ae1e0a5fa492..39a3e2a5017d 100644 --- a/include/asm-alpha/bug.h +++ b/include/asm-alpha/bug.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _ALPHA_BUG_H | 1 | #ifndef _ALPHA_BUG_H |
2 | #define _ALPHA_BUG_H | 2 | #define _ALPHA_BUG_H |
3 | 3 | ||
4 | #ifdef CONFIG_BUG | ||
4 | #include <asm/pal.h> | 5 | #include <asm/pal.h> |
5 | 6 | ||
6 | /* ??? Would be nice to use .gprel32 here, but we can't be sure that the | 7 | /* ??? Would be nice to use .gprel32 here, but we can't be sure that the |
@@ -10,6 +11,8 @@ | |||
10 | : : "i" (PAL_bugchk), "i"(__LINE__), "i"(__FILE__)) | 11 | : : "i" (PAL_bugchk), "i"(__LINE__), "i"(__FILE__)) |
11 | 12 | ||
12 | #define HAVE_ARCH_BUG | 13 | #define HAVE_ARCH_BUG |
14 | #endif | ||
15 | |||
13 | #include <asm-generic/bug.h> | 16 | #include <asm-generic/bug.h> |
14 | 17 | ||
15 | #endif | 18 | #endif |
diff --git a/include/asm-alpha/errno.h b/include/asm-alpha/errno.h index c85ab6b9d6c6..69e2655249d2 100644 --- a/include/asm-alpha/errno.h +++ b/include/asm-alpha/errno.h | |||
@@ -116,4 +116,8 @@ | |||
116 | #define EKEYREVOKED 134 /* Key has been revoked */ | 116 | #define EKEYREVOKED 134 /* Key has been revoked */ |
117 | #define EKEYREJECTED 135 /* Key was rejected by service */ | 117 | #define EKEYREJECTED 135 /* Key was rejected by service */ |
118 | 118 | ||
119 | /* for robust mutexes */ | ||
120 | #define EOWNERDEAD 136 /* Owner died */ | ||
121 | #define ENOTRECOVERABLE 137 /* State not recoverable */ | ||
122 | |||
119 | #endif | 123 | #endif |
diff --git a/include/asm-alpha/siginfo.h b/include/asm-alpha/siginfo.h index 86bcab59c52b..9822362a8424 100644 --- a/include/asm-alpha/siginfo.h +++ b/include/asm-alpha/siginfo.h | |||
@@ -4,8 +4,6 @@ | |||
4 | #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) | 4 | #define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) |
5 | #define __ARCH_SI_TRAPNO | 5 | #define __ARCH_SI_TRAPNO |
6 | 6 | ||
7 | #define SIGEV_PAD_SIZE ((SIGEV_MAX_SIZE/sizeof(int)) - 4) | ||
8 | |||
9 | #include <asm-generic/siginfo.h> | 7 | #include <asm-generic/siginfo.h> |
10 | 8 | ||
11 | #endif | 9 | #endif |
diff --git a/include/asm-alpha/signal.h b/include/asm-alpha/signal.h index 25f98bc5576f..4e0842b415aa 100644 --- a/include/asm-alpha/signal.h +++ b/include/asm-alpha/signal.h | |||
@@ -109,20 +109,6 @@ typedef unsigned long sigset_t; | |||
109 | #define MINSIGSTKSZ 4096 | 109 | #define MINSIGSTKSZ 4096 |
110 | #define SIGSTKSZ 16384 | 110 | #define SIGSTKSZ 16384 |
111 | 111 | ||
112 | |||
113 | #ifdef __KERNEL__ | ||
114 | /* | ||
115 | * These values of sa_flags are used only by the kernel as part of the | ||
116 | * irq handling routines. | ||
117 | * | ||
118 | * SA_INTERRUPT is also used by the irq handling routines. | ||
119 | * SA_SHIRQ is for shared interrupt support on PCI and EISA. | ||
120 | */ | ||
121 | #define SA_PROBE SA_ONESHOT | ||
122 | #define SA_SAMPLE_RANDOM SA_RESTART | ||
123 | #define SA_SHIRQ 0x40000000 | ||
124 | #endif | ||
125 | |||
126 | #define SIG_BLOCK 1 /* for blocking signals */ | 112 | #define SIG_BLOCK 1 /* for blocking signals */ |
127 | #define SIG_UNBLOCK 2 /* for unblocking signals */ | 113 | #define SIG_UNBLOCK 2 /* for unblocking signals */ |
128 | #define SIG_SETMASK 3 /* for setting the signal mask */ | 114 | #define SIG_SETMASK 3 /* for setting the signal mask */ |