From patchwork Mon Dec 11 16:21:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 121432 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2996666qgn; Mon, 11 Dec 2017 08:23:09 -0800 (PST) X-Google-Smtp-Source: ACJfBot/YboOfR7btzBQBtUs+YILoF7ga2z+tDUCdrpttxSbsSlf1VjKbWbLzekg3rUD16mFvGhw X-Received: by 10.84.247.148 with SMTP id o20mr874396pll.137.1513009389454; Mon, 11 Dec 2017 08:23:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513009389; cv=none; d=google.com; s=arc-20160816; b=fVHoW5U5jgr1UjTc5xuYp9DxcURkQqatJ/1xksXJGkZCfI/LQ6fxNYgDehnQ3liWzJ tI9O75fJ0fzS3MRBAaKMGNZXOg5Oo1VpUT+IOeYZ6XZNX5dFzeFFjl2t3scuSrr38ePj 8L2FXZnRFkhhf4Zowix2PeLXedb4UoEVAk5kyNr/kGaq+15/ke0H1o+G8eAxU/z3nX5f sWAMsbKlb4ZuOWjtjATX6HAiSELFa32AUkEorNvsSFgVE2cVEx0t9Ro5zvIK/qdPz1Ji OcxbtcsHqUdeWbslwOJKBbE530bdKp5DWSlvkL1Tdy/tpJBh9pbokgvD6JOfaDjQ3jaQ AneA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=W3FQRb39xu+CN2mlC/zDRtuFJ+qqj/157LdO+adWyuE=; b=gIcY9yn2BVT4CjnIWQsHagea0Dcudy1hQOFEPAOr8OwwBwq8faNlqsgBV1HpsAfDSB pTqFiqc+bb5eZXVIGQc0Hs3YdB4VsGa9Chu7h0+CVpDR7zgsIpFyyk6tLVRKV+wmGFga Bk6EA8IEWy9MIFY3wcPwTM5/a8i5nPRQCkrNmqGpzKkC+zur6EpRGCLLGRn66ctHgWbo gUSmJhfToSn+ly8G+kxIhUJ9jRAjZ1XlaUx9nDyykOtM8YJKHXUgdjjxkJ9ucJX6jNEz 4DpjqHgCgoctMEBR/+AR8J8lHl1k/x+5xex+5I0OxtvZbyLomYxDL/rs2tEOOuSUhhUV X+MQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7si10228716plr.486.2017.12.11.08.23.09; Mon, 11 Dec 2017 08:23:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752748AbdLKQXH (ORCPT + 26 others); Mon, 11 Dec 2017 11:23:07 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:49851 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752598AbdLKQXG (ORCPT ); Mon, 11 Dec 2017 11:23:06 -0500 Received: from wuerfel.lan ([149.172.96.106]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lm4GH-1exlfa3AMT-00ZiqV; Mon, 11 Dec 2017 17:22:47 +0100 From: Arnd Bergmann To: Andrew Morton , Dan Williams , Stephen Rothwell Cc: Arnd Bergmann , Michal Hocko , "Aneesh Kumar K.V" , linux-kernel@vger.kernel.org Subject: [PATCH] mm, hugetlbfs: include mm.h for vm_operations_struct Date: Mon, 11 Dec 2017 17:21:27 +0100 Message-Id: <20171211162243.233177-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:pdZP70GWfWpSfLOVHTEoZSuAIa0HoNsE+xCJ5vnQcf1Yj0dg0wW OPiDoC3isG92BLh8JHa6GMyhNqwIdTfP7IWEk/42e3k/gx4v/bquhmQWNfLI7hYCGKQqq8H 3328Sy3lLwwA/6SkmFwp7dpu1jUglpKOYA+BsaH3gcYpKp2T3wt1VdUzIE3+sHwNcW3ztbH 7tgPdq9sv04vXdHGl1PXQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:2PBdfny3Hfs=:N/ABdUsnILKsuf/R/RJh5x 80c5MwuFnsh4VU7qPReexLq+raeOCk7dlgZ8NdzpBx3hgWdgXY+IAdp2GB9kiGDocOciTATMu kklPXF4wmNRCO/GPwrC0ECfDeQf9d1Puqcd4DUiPeQjM0jwECcN4JjRhXgH6tSEJ6wpDfnPFe wTVpdRJr4vssTqF0r85z79CVptNqBeffG+EzT1MlnDZs73a68JRij2lN9xJjr783CBPE/tahy kyt0w88FBZHyAAULUq/h3hFolRUnX8gCMNreeSvPCu8Z86/vkOgPZoP5gduh576rZgd7At95j ZLWUL7vCSyzI04TLB4JvguwtvfSlxfhjDaT/0cpDyI1ryI82+smvildeMZENIxzPuhwjpqHVX L9KKz+ijhgm4fKHknHlEYdAAlCQBe3FPIsOAInfoRaXJ9D2URXWgTrquDcfvBuSPqxIMqmR2r Ckuxr5TKlIYvdsYNsxWrXUrTL5JD0C8XX+UL5OJF2+pZ7R4k6JpTsnbtpD7ZYie6B1BGr8cs7 A4RnZo/+ks/iHfh42OgvzVTVrOtOYLry3gAfnSMc8K4yVfGE9qdibMCxQfhJz3fLcVoJ0YX0/ XmvOGHBV01zSagVe7V1f6XPIEEx7PWI2spDINrRHJZcCc5UzWO2pFdmzYaX63EJpw/WJPg5zz VPu4Ub8zD+IxelxE9alCZKBWjUTK/uw+wDHy5vSNCpybn8rp6i248odLAiGwGcmSEb7qpam/1 vSozVnqrHAIFdZA3NA1j2LLnRSVi0ZHQkpAbcw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The infiniband umem code causes a build failure in some configurations: In file included from drivers/infiniband/core/umem_odp.c:41:0: include/linux/hugetlb.h: In function 'vma_kernel_pagesize': include/linux/hugetlb.h:262:32: error: dereferencing pointer to incomplete type 'const struct vm_operations_struct' Including the header file that defines the structure is sufficient to avoid this. Fixes: ac9284a6b670 ("mm, hugetlbfs: introduce ->pagesize() to vm_operations_struct") Signed-off-by: Arnd Bergmann --- include/linux/hugetlb.h | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 Signed-off-by: Stephen Rothwell diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index b0f1f6768336..082ff47201be 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -9,6 +9,7 @@ #include #include #include +#include #include struct ctl_table;