summaryrefslogtreecommitdiff
path: root/include/asm-parisc/errno.h
diff options
context:
space:
mode:
authorJoe Korty <joe.korty@ccur.com>2005-05-01 08:59:06 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 08:59:06 -0700
commit4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee (patch)
treec6f02d62f59088befaed42bcf7610555f7d5b518 /include/asm-parisc/errno.h
parent1181c1f923c349acaa01bca40fe600584f265132 (diff)
downloadlwn-4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee.tar.gz
lwn-4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee.zip
[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/asm-parisc/errno.h')
-rw-r--r--include/asm-parisc/errno.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-parisc/errno.h b/include/asm-parisc/errno.h
index a10f109770f1..08464c405471 100644
--- a/include/asm-parisc/errno.h
+++ b/include/asm-parisc/errno.h
@@ -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