diff options
author | Joe Korty <joe.korty@ccur.com> | 2005-05-01 11:59:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:59:06 -0400 |
commit | 4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee (patch) | |
tree | c6f02d62f59088befaed42bcf7610555f7d5b518 /include | |
parent | 1181c1f923c349acaa01bca40fe600584f265132 (diff) |
[PATCH] add EOWNERDEAD and ENOTRECOVERABLE version 2
Add EOWNERDEAD and ENOTRECOVERABLE to all architectures. This is to
support the upcoming patches for robust mutexes.
We normally don't reserve parts of the name/number space for external
patches, but robust mutexes are sufficiently popular and important to
justify it in this case.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-alpha/errno.h | 4 | ||||
-rw-r--r-- | include/asm-generic/errno.h | 4 | ||||
-rw-r--r-- | include/asm-mips/errno.h | 4 | ||||
-rw-r--r-- | include/asm-parisc/errno.h | 4 | ||||
-rw-r--r-- | include/asm-sparc/errno.h | 4 | ||||
-rw-r--r-- | include/asm-sparc64/errno.h | 4 |
6 files changed, 24 insertions, 0 deletions
diff --git a/include/asm-alpha/errno.h b/include/asm-alpha/errno.h index c85ab6b9d6c..69e2655249d 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-generic/errno.h b/include/asm-generic/errno.h index 4dd2384bc38..e8852c092fe 100644 --- a/include/asm-generic/errno.h +++ b/include/asm-generic/errno.h | |||
@@ -102,4 +102,8 @@ | |||
102 | #define EKEYREVOKED 128 /* Key has been revoked */ | 102 | #define EKEYREVOKED 128 /* Key has been revoked */ |
103 | #define EKEYREJECTED 129 /* Key was rejected by service */ | 103 | #define EKEYREJECTED 129 /* Key was rejected by service */ |
104 | 104 | ||
105 | /* for robust mutexes */ | ||
106 | #define EOWNERDEAD 130 /* Owner died */ | ||
107 | #define ENOTRECOVERABLE 131 /* State not recoverable */ | ||
108 | |||
105 | #endif | 109 | #endif |
diff --git a/include/asm-mips/errno.h b/include/asm-mips/errno.h index 2b458f9538c..3c0d840e457 100644 --- a/include/asm-mips/errno.h +++ b/include/asm-mips/errno.h | |||
@@ -115,6 +115,10 @@ | |||
115 | #define EKEYREVOKED 163 /* Key has been revoked */ | 115 | #define EKEYREVOKED 163 /* Key has been revoked */ |
116 | #define EKEYREJECTED 164 /* Key was rejected by service */ | 116 | #define EKEYREJECTED 164 /* Key was rejected by service */ |
117 | 117 | ||
118 | /* for robust mutexes */ | ||
119 | #define EOWNERDEAD 165 /* Owner died */ | ||
120 | #define ENOTRECOVERABLE 166 /* State not recoverable */ | ||
121 | |||
118 | #define EDQUOT 1133 /* Quota exceeded */ | 122 | #define EDQUOT 1133 /* Quota exceeded */ |
119 | 123 | ||
120 | #ifdef __KERNEL__ | 124 | #ifdef __KERNEL__ |
diff --git a/include/asm-parisc/errno.h b/include/asm-parisc/errno.h index a10f109770f..08464c40547 100644 --- a/include/asm-parisc/errno.h +++ b/include/asm-parisc/errno.h | |||
@@ -115,5 +115,9 @@ | |||
115 | #define ENOTSUP 252 /* Function not implemented (POSIX.4 / HPUX) */ | 115 | #define ENOTSUP 252 /* Function not implemented (POSIX.4 / HPUX) */ |
116 | #define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */ | 116 | #define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */ |
117 | 117 | ||
118 | /* for robust mutexes */ | ||
119 | #define EOWNERDEAD 254 /* Owner died */ | ||
120 | #define ENOTRECOVERABLE 255 /* State not recoverable */ | ||
121 | |||
118 | 122 | ||
119 | #endif | 123 | #endif |
diff --git a/include/asm-sparc/errno.h b/include/asm-sparc/errno.h index 8c01c5f3b06..ed41c8bac1f 100644 --- a/include/asm-sparc/errno.h +++ b/include/asm-sparc/errno.h | |||
@@ -107,4 +107,8 @@ | |||
107 | #define EKEYREVOKED 130 /* Key has been revoked */ | 107 | #define EKEYREVOKED 130 /* Key has been revoked */ |
108 | #define EKEYREJECTED 131 /* Key was rejected by service */ | 108 | #define EKEYREJECTED 131 /* Key was rejected by service */ |
109 | 109 | ||
110 | /* for robust mutexes */ | ||
111 | #define EOWNERDEAD 132 /* Owner died */ | ||
112 | #define ENOTRECOVERABLE 133 /* State not recoverable */ | ||
113 | |||
110 | #endif | 114 | #endif |
diff --git a/include/asm-sparc64/errno.h b/include/asm-sparc64/errno.h index cc98a73b55a..ea3509ee1b0 100644 --- a/include/asm-sparc64/errno.h +++ b/include/asm-sparc64/errno.h | |||
@@ -107,4 +107,8 @@ | |||
107 | #define EKEYREVOKED 130 /* Key has been revoked */ | 107 | #define EKEYREVOKED 130 /* Key has been revoked */ |
108 | #define EKEYREJECTED 131 /* Key was rejected by service */ | 108 | #define EKEYREJECTED 131 /* Key was rejected by service */ |
109 | 109 | ||
110 | /* for robust mutexes */ | ||
111 | #define EOWNERDEAD 132 /* Owner died */ | ||
112 | #define ENOTRECOVERABLE 133 /* State not recoverable */ | ||
113 | |||
110 | #endif /* !(_SPARC64_ERRNO_H) */ | 114 | #endif /* !(_SPARC64_ERRNO_H) */ |