Received: by 10.192.165.156 with SMTP id m28csp1668594imm; Sat, 14 Apr 2018 03:53:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx49jTToEYA9UieysE9mrBvadvlr4X+Sl27+q7Eiz2hdbIiJJ6uUrZnKa8xY9RUkKUDI6MRGu X-Received: by 10.98.74.17 with SMTP id x17mr14693383pfa.91.1523703192248; Sat, 14 Apr 2018 03:53:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523703192; cv=none; d=google.com; s=arc-20160816; b=Sz1p9Nf3UkfWUt7aNs6wGAvnnzqKvH2ofLWZTp9h7ZRh1Hx17cEO70TPaRf/+8leyX Gojw1iyrxBAP2YISqCo2fSfGz77g0kKORyZ25TPjIvEa/QtbblUKL1EDG0JgRWHerFVc mvjDMxSKncj9rC1ZM79y4dKjnSmLifC0A9tgdl/22t/g9gSwG36jKlYsMNaXcHNT6eZI hjMkgYHohwqSyj7EcCMYBSFEc56NBDgKBuH00dggxQwrOhfPa4sPStk/tyv7TDvCuwry x+VkWMJG4DQ49cOGHTqES6nYz/mNdA6WgN+z+Y/gHRgNxEbi4LapfonMl0Louerzn15t dDxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=FoUXHOS6/JOiRs9zGEkC0Itd9FZtsHIIVieZqdqcjcM=; b=AiunPCfH6M4gyHeiB8hPiGT+ZPhnYnrzwcHW22Kc/XgQPQV3J3VKlGNnxdaBBdn7Jj Jn6NhxtHMdL9XrFFyf1NpTgQUQnPr38NKnLWN60qRYGF3+g4VT/26Tzo3UC1nN/zrf8E /cQYdLHwc+IyXdUZJP3Mblnc9W8BeggrT5l0qPNK7QfTz7OkvNSpfvugdssuz1DmcOyp fCJAaBqw3d2PNZWZAW0F7keFWr88WKSVcAM6THkMKf075Dd/MVQHNH+iWMYN8YqXpiM3 ptmaOy9eDc1mgRmVgTbbUuEDPbIbDnUKFBbKTl7I/dfhwXb+9KKA6OaZkv1nG5xuz8xr 1dQw== 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 c11si5971584pga.161.2018.04.14.03.52.57; Sat, 14 Apr 2018 03:53:12 -0700 (PDT) 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 S1751107AbeDNKvv convert rfc822-to-8bit (ORCPT + 99 others); Sat, 14 Apr 2018 06:51:51 -0400 Received: from mxhk.zte.com.cn ([63.217.80.70]:43558 "EHLO mxhk.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbeDNKvu (ORCPT ); Sat, 14 Apr 2018 06:51:50 -0400 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 3695ED50577556386912; Sat, 14 Apr 2018 18:51:48 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id w3EApggD082811; Sat, 14 Apr 2018 18:51:42 +0800 (GMT-8) (envelope-from peng.hao2@zte.com.cn) Received: from localhost.localdomain.localdomain ([10.74.120.59]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018041418515339-5482766 ; Sat, 14 Apr 2018 18:51:53 +0800 From: Peng Hao To: shuah@kernel.org, aarcange@redhat.com, akpm@linux-foundation.org, rppt@linux.vnet.ibm.com Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Hao Subject: [PATCH] selftests:vm: add include file Date: Sun, 15 Apr 2018 03:08:56 +0800 Message-Id: <1523732936-42546-1-git-send-email-peng.hao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-04-14 18:51:53, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-04-14 18:51:23 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-MAIL: mse01.zte.com.cn w3EApggD082811 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org userfaultfd.c: In function ‘hugetlb_release_pages’: userfaultfd.c:145:25: error: ‘FALLOC_FL_PUNCH_HOLE’ undeclared (first use in this function) Signed-off-by: Peng Hao --- tools/testing/selftests/vm/userfaultfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c index de2f9ec..d8fe447 100644 --- a/tools/testing/selftests/vm/userfaultfd.c +++ b/tools/testing/selftests/vm/userfaultfd.c @@ -68,6 +68,7 @@ #include #include #include +#include #ifdef __NR_userfaultfd -- 1.8.3.1