From patchwork Tue Jan 10 10:22:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 90670 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp959440obz; Tue, 10 Jan 2017 02:23:28 -0800 (PST) X-Received: by 10.84.210.107 with SMTP id z98mr3785568plh.171.1484043807790; Tue, 10 Jan 2017 02:23:27 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v190si1710717pgb.58.2017.01.10.02.23.27; Tue, 10 Jan 2017 02:23:27 -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 S1760120AbdAJKXJ (ORCPT + 25 others); Tue, 10 Jan 2017 05:23:09 -0500 Received: from foss.arm.com ([217.140.101.70]:47720 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760056AbdAJKXF (ORCPT ); Tue, 10 Jan 2017 05:23:05 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 34DAB1516; Tue, 10 Jan 2017 02:23:05 -0800 (PST) Received: from e107155-lin.cambridge.arm.com (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 11DE93F3D6; Tue, 10 Jan 2017 02:23:03 -0800 (PST) From: Sudeep Holla To: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo Cc: Sudeep Holla , Jiri Olsa , Wang Nan , Peter Zijlstra , Ingo Molnar Subject: [PATCH 2/2] tools: perf: fix build error in uapi/linux/mman.h Date: Tue, 10 Jan 2017 10:22:50 +0000 Message-Id: <1484043770-13206-2-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1484043770-13206-1-git-send-email-sudeep.holla@arm.com> References: <1484043770-13206-1-git-send-email-sudeep.holla@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All the other occurrence refer "uapi/asm-generic/*.h" directly instead of "uapi/asm/*.h" in tools/include except mman.h. Without this patch, the following build failure is seen. In file included from util/event.c:2:0: tools/include/uapi/linux/mman.h:4:27: fatal error: uapi/asm/mman.h: No such file or directory compilation terminated. Fixes: f3539c12d819 ("tools include: Add uapi mman.h for each architecture") Cc: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Signed-off-by: Sudeep Holla --- tools/include/uapi/linux/mman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/tools/include/uapi/linux/mman.h b/tools/include/uapi/linux/mman.h index 81d8edf11789..74a19ae15cd1 100644 --- a/tools/include/uapi/linux/mman.h +++ b/tools/include/uapi/linux/mman.h @@ -1,7 +1,7 @@ #ifndef _UAPI_LINUX_MMAN_H #define _UAPI_LINUX_MMAN_H -#include +#include #define MREMAP_MAYMOVE 1 #define MREMAP_FIXED 2