Module Name: src
Committed By: riastradh
Date: Mon Aug 27 06:56:32 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/include/linux: gfp.h
Log Message:
Define __GFP_NOFAIL as zero since it's a noop here.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/external/bsd/drm2/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/drm2/include/linux/gfp.h
diff -u src/sys/external/bsd/drm2/include/linux/gfp.h:1.5 src/sys/external/bsd/drm2/include/linux/gfp.h:1.6
--- src/sys/external/bsd/drm2/include/linux/gfp.h:1.5 Thu Jul 17 14:07:44 2014
+++ src/sys/external/bsd/drm2/include/linux/gfp.h Mon Aug 27 06:56:31 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: gfp.h,v 1.5 2014/07/17 14:07:44 riastradh Exp $ */
+/* $NetBSD: gfp.h,v 1.6 2018/08/27 06:56:31 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -63,6 +63,12 @@ typedef int gfp_t;
#define __GFP_WAIT __BIT(11)
#define __GFP_ZERO __BIT(12)
+/*
+ * XXX Linux sez nobody should be using this in new code. We never
+ * fail in the wait case anyway, so the point is moot.
+ */
+#define __GFP_NOFAIL 0
+
struct page;
#endif /* _LINUX_GFP_H_ */