UAPI: (Scripted) Disintegrate include/linux
[linux-2.6-microblaze.git] / include / linux / errno.h
index e0de516..f6bf082 100644 (file)
@@ -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