[PATCH 3/3] [media_build] add compat for __GFP_RETRY_MAYFAIL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Daniel Scheller <d.scheller@xxxxxxx>

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@xxxxxxx>
---
 v4l/compat.h | 4 ++++
 1 file changed, 4 insertions(+)

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 */
-- 
2.13.0




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux