patch-2.3.26 linux/include/linux/mm.h
Next file: linux/include/linux/msdos_fs_sb.h
Previous file: linux/include/linux/major.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Sat Nov  6 19:06:20 1999
-  Orig file: 
v2.3.25/linux/include/linux/mm.h
-  Orig date: 
Mon Nov  1 13:56:27 1999
diff -u --recursive --new-file v2.3.25/linux/include/linux/mm.h linux/include/linux/mm.h
@@ -202,6 +202,12 @@
 #define SetPageReserved(page)		set_bit(PG_reserved, &(page)->flags)
 #define ClearPageReserved(page)		clear_bit(PG_reserved, &(page)->flags)
 
+/*
+ * Error return values for the *_nopage functions
+ */
+#define NOPAGE_SIGBUS	(NULL)
+#define NOPAGE_OOM	((struct page *) (-1))
+
 
 /*
  * Various page->flags bits:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)