summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/errno.h
diff options
context:
space:
mode:
authorJoe Korty2005-05-01 17:59:06 +0200
committerLinus Torvalds2005-05-01 17:59:06 +0200
commit4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee (patch)
treec6f02d62f59088befaed42bcf7610555f7d5b518 /include/asm-mips/errno.h
parent[PATCH] noop-iosched: kill O(N) merge scan (diff)
downloadkernel-qcow2-linux-4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee.tar.gz
kernel-qcow2-linux-4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee.tar.xz
kernel-qcow2-linux-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-mips/errno.h')
-rw-r--r--include/asm-mips/errno.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/errno.h b/include/asm-mips/errno.h
index 2b458f9538cd..3c0d840e4577 100644
--- a/include/asm-mips/errno.h
+++ b/include/asm-mips/errno.h
@@ -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__