linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / err.h
index cd3b367..ff71d2a 100644 (file)
@@ -13,9 +13,7 @@
  * This should be a per-architecture thing, to allow different
  * error and pointer decisions.
  */
-#define MAX_ERRNO      4095
-
-#define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO)
+#define IS_ERR_VALUE(x) unlikely((x) > (unsigned long)-1000L)
 
 static inline void *ERR_PTR(long error)
 {