From: Daniel Scheller <d.scheller.oss@gmail.com>
To: linux-media@vger.kernel.org, hverkuil@xs4all.nl
Cc: jasmin@anw.at, mchehab@kernel.org
Subject: [PATCH 3/3] [media_build] add compat for __GFP_RETRY_MAYFAIL
Date: Sun, 20 Aug 2017 16:36:48 +0200 [thread overview]
Message-ID: <20170820143648.27669-4-d.scheller.oss@gmail.com> (raw)
In-Reply-To: <20170820143648.27669-1-d.scheller.oss@gmail.com>
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 --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
prev parent reply other threads:[~2017-08-20 14:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-20 14:36 [PATCH 0/3] media_build: fixes wrt the ddbridge code bump Daniel Scheller
2017-08-20 14:36 ` [PATCH 1/3] [media_build] fix pr_fmt patch " Daniel Scheller
2017-08-20 14:36 ` [PATCH 2/3] [media_build] patch pci_alloc_irq_vectors() for ddbridge aswell Daniel Scheller
2017-08-20 14:36 ` Daniel Scheller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170820143648.27669-4-d.scheller.oss@gmail.com \
--to=d.scheller.oss@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=jasmin@anw.at \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.