From patchwork Sun Aug 20 14:36:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 9911171 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 86428603F3 for ; Sun, 20 Aug 2017 14:37:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78849286D4 for ; Sun, 20 Aug 2017 14:37:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D629287A0; Sun, 20 Aug 2017 14:37:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E04D8287AA for ; Sun, 20 Aug 2017 14:37:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753111AbdHTOgz (ORCPT ); Sun, 20 Aug 2017 10:36:55 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38001 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753110AbdHTOgx (ORCPT ); Sun, 20 Aug 2017 10:36:53 -0400 Received: by mail-wr0-f193.google.com with SMTP id k10so884152wre.5 for ; Sun, 20 Aug 2017 07:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j3OMp8OlHzw53GvoZsyOqcR5xM1+lxttVeE1LsYdy+A=; b=GoIft2ucWprfyAXa7Gl5mZZc5sUUceWb87GhamSoPigwgsKgIxiQisoyREjV5jJtxq F+Kng2GXOVwdVfi9S4AjC3r4/Xun85VzXv0Q6XgKQBYjnyMfuB2phTvvxPxtZRdTzlDD 6s+WZipoXnkEX3Co/tv12hmcQcFtJEGYeW8+I7e5LeOX1XjDe/oE655gSddu1MQ0Iw4q 3Kw5cfjZLxjj14+5VtnaFGVYICf8XwTw+mFYuZN7QlX3teojnZ2pnbO2u2HHVrNX0tuI brct40GhPlzVmdYv5IGWtcOuwDznoQFuPhji/xDoW91fwKIcuHloS0qu6qSEA7EdG2fu O35g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j3OMp8OlHzw53GvoZsyOqcR5xM1+lxttVeE1LsYdy+A=; b=GnhuD9wxAQ5PxmWWO1baRccL2wubdLMYaCqBDitg7N6NIicZzZjYBw//rWWAWUAqlO j1b3Y1TFITO1z6djgmf6w9JWwx3bY8qpwIlSq8VA0CMrpS7Yzvv8uUjGWaf4yDJcdQB9 nIbVvwArxZ5QkkOshWqQzo173YhUaYj2uDeH6Oa3WsBqEsmL9s1x4sH82t0pEAM0fnWE iiLeQvd5EQBZp95Thhee7ox8WhbDd0zpT0RuDX9KaBFI9KeIxJy7hfrwWEULo7idEP1P 8FMtXNcTfbpiKmp9r48T2Dk5THKJEIhKYNOGiB+l1S09fp3y8jrgwKLuGuGzl5wcyPCj RhSg== X-Gm-Message-State: AHYfb5h/cgrEx65wWhBsr+x0pGhFB5diMDIHQHMPT9vGeYfFROhjX5eU 41Mv1aQJcy8Qcu7+ X-Received: by 10.223.161.8 with SMTP id o8mr8356850wro.213.1503239812288; Sun, 20 Aug 2017 07:36:52 -0700 (PDT) Received: from dvbdev.wuest.de (ip-84-118-193-88.unity-media.net. [84.118.193.88]) by smtp.gmail.com with ESMTPSA id k79sm374801wmg.21.2017.08.20.07.36.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Aug 2017 07:36:51 -0700 (PDT) From: Daniel Scheller 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 Message-Id: <20170820143648.27669-4-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170820143648.27669-1-d.scheller.oss@gmail.com> References: <20170820143648.27669-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller 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 --- 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 */