Skip to content

Commit

Permalink
[PATCH] add EOWNERDEAD and ENOTRECOVERABLE version 2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Korty authored and Linus Torvalds committed May 1, 2005
1 parent 1181c1f commit 4750e2c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/asm-alpha/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,8 @@
#define EKEYREVOKED 134 /* Key has been revoked */
#define EKEYREJECTED 135 /* Key was rejected by service */

/* for robust mutexes */
#define EOWNERDEAD 136 /* Owner died */
#define ENOTRECOVERABLE 137 /* State not recoverable */

#endif
4 changes: 4 additions & 0 deletions include/asm-generic/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,8 @@
#define EKEYREVOKED 128 /* Key has been revoked */
#define EKEYREJECTED 129 /* Key was rejected by service */

/* for robust mutexes */
#define EOWNERDEAD 130 /* Owner died */
#define ENOTRECOVERABLE 131 /* State not recoverable */

#endif
4 changes: 4 additions & 0 deletions include/asm-mips/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@
#define EKEYREVOKED 163 /* Key has been revoked */
#define EKEYREJECTED 164 /* Key was rejected by service */

/* for robust mutexes */
#define EOWNERDEAD 165 /* Owner died */
#define ENOTRECOVERABLE 166 /* State not recoverable */

#define EDQUOT 1133 /* Quota exceeded */

#ifdef __KERNEL__
Expand Down
4 changes: 4 additions & 0 deletions include/asm-parisc/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,9 @@
#define ENOTSUP 252 /* Function not implemented (POSIX.4 / HPUX) */
#define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */

/* for robust mutexes */
#define EOWNERDEAD 254 /* Owner died */
#define ENOTRECOVERABLE 255 /* State not recoverable */


#endif
4 changes: 4 additions & 0 deletions include/asm-sparc/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,8 @@
#define EKEYREVOKED 130 /* Key has been revoked */
#define EKEYREJECTED 131 /* Key was rejected by service */

/* for robust mutexes */
#define EOWNERDEAD 132 /* Owner died */
#define ENOTRECOVERABLE 133 /* State not recoverable */

#endif
4 changes: 4 additions & 0 deletions include/asm-sparc64/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,8 @@
#define EKEYREVOKED 130 /* Key has been revoked */
#define EKEYREJECTED 131 /* Key was rejected by service */

/* for robust mutexes */
#define EOWNERDEAD 132 /* Owner died */
#define ENOTRECOVERABLE 133 /* State not recoverable */

#endif /* !(_SPARC64_ERRNO_H) */

0 comments on commit 4750e2c

Please sign in to comment.