aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ppc64/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc64/errno.h')
-rw-r--r--include/asm-ppc64/errno.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-ppc64/errno.h b/include/asm-ppc64/errno.h
new file mode 100644
index 00000000000..69bc3b0c6cb
--- /dev/null
+++ b/include/asm-ppc64/errno.h
@@ -0,0 +1,18 @@
+#ifndef _PPC64_ERRNO_H
+#define _PPC64_ERRNO_H
+
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version
+ * 2 of the License, or (at your option) any later version.
+ */
+
+#include <asm-generic/errno.h>
+
+#undef EDEADLOCK
+#define EDEADLOCK 58 /* File locking deadlock error */
+
+#define _LAST_ERRNO 516
+
+#endif