diff mbox

[3/3,media_build] add compat for __GFP_RETRY_MAYFAIL

Message ID 20170820143648.27669-4-d.scheller.oss@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Scheller Aug. 20, 2017, 2:36 p.m. UTC
From: Daniel Scheller <d.scheller@gmx.net>

required for building ddbridge on <4.13-rc1 wrt

  commit dcda9b04713c ("mm, tree wide: replace __GFP_REPEAT by __GFP_RETRY_MAYFAIL with more useful semantic")

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
---
 v4l/compat.h | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/v4l/compat.h b/v4l/compat.h
index b5b0846..a28ce76 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -2099,4 +2099,8 @@  static inline int pm_runtime_get_if_in_use(struct device *dev)
 }
 #endif
 
+#ifndef __GFP_RETRY_MAYFAIL
+#define __GFP_RETRY_MAYFAIL __GFP_REPEAT
+#endif
+
 #endif /*  _COMPAT_H */