summaryrefslogtreecommitdiff
path: root/tools/arch/powerpc/include/uapi/asm/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/arch/powerpc/include/uapi/asm/errno.h')
-rw-r--r--tools/arch/powerpc/include/uapi/asm/errno.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/arch/powerpc/include/uapi/asm/errno.h b/tools/arch/powerpc/include/uapi/asm/errno.h
new file mode 100644
index 000000000000..cc79856896a1
--- /dev/null
+++ b/tools/arch/powerpc/include/uapi/asm/errno.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _ASM_POWERPC_ERRNO_H
+#define _ASM_POWERPC_ERRNO_H
+
+#include <asm-generic/errno.h>
+
+#undef EDEADLOCK
+#define EDEADLOCK 58 /* File locking deadlock error */
+
+#endif /* _ASM_POWERPC_ERRNO_H */