summaryrefslogtreecommitdiffstats
path: root/include/linux/errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/errno.h')
-rw-r--r--include/linux/errno.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/errno.h b/include/linux/errno.h
index e0de516374da..f6bf082d4d4f 100644
--- a/include/linux/errno.h
+++ b/include/linux/errno.h
@@ -1,9 +1,8 @@
#ifndef _LINUX_ERRNO_H
#define _LINUX_ERRNO_H
-#include <asm/errno.h>
+#include <uapi/linux/errno.h>
-#ifdef __KERNEL__
/*
* These should never be seen by user programs. To return one of ERESTART*
@@ -32,5 +31,3 @@
#define EIOCBRETRY 530 /* iocb queued, will trigger a retry */
#endif
-
-#endif
OpenPOWER on IntegriCloud