Module Name: src
Committed By: riastradh
Date: Sun Dec 19 01:24:43 UTC 2021
Modified Files:
src/sys/external/bsd/common/include/linux: gfp.h
Log Message:
Define __GFP_RETRY_MAYFAIL as an alias for __GFP_NORETRY.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/common/include/linux/gfp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/common/include/linux/gfp.h
diff -u src/sys/external/bsd/common/include/linux/gfp.h:1.1 src/sys/external/bsd/common/include/linux/gfp.h:1.2
--- src/sys/external/bsd/common/include/linux/gfp.h:1.1 Mon Aug 27 15:45:06 2018
+++ src/sys/external/bsd/common/include/linux/gfp.h Sun Dec 19 01:24:43 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: gfp.h,v 1.1 2018/08/27 15:45:06 riastradh Exp $ */
+/* $NetBSD: gfp.h,v 1.2 2021/12/19 01:24:43 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -69,6 +69,13 @@ typedef int gfp_t;
*/
#define __GFP_NOFAIL 0
+/*
+ * Pretend these are the same. __GFP_RETRY_MAYFAIL is supposed to do
+ * more than just __GFP_NORETRY, but should not hang forever like
+ * __GFP_WAIT.
+ */
+#define __GFP_RETRY_MAYFAIL __GFP_NORETRY
+
struct page;
#endif /* _LINUX_GFP_H_ */