From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752642AbdI2UH5 (ORCPT ); Fri, 29 Sep 2017 16:07:57 -0400 Received: from terminus.zytor.com ([65.50.211.136]:49477 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752292AbdI2UHy (ORCPT ); Fri, 29 Sep 2017 16:07:54 -0400 Date: Fri, 29 Sep 2017 13:05:31 -0700 From: tip-bot for Akemi Yagi Message-ID: Cc: linux-kernel@vger.kernel.org, acme@redhat.com, mingo@kernel.org, toracat@elrepo.org, amyagi@gmail.com, ajb@elrepo.org, hpa@zytor.com, tglx@linutronix.de Reply-To: toracat@elrepo.org, amyagi@gmail.com, mingo@kernel.org, acme@redhat.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, ajb@elrepo.org In-Reply-To: References: To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf tools: Fix syscalltbl build failure Git-Commit-ID: 090657c9fb7094e4c1b05c1713d6c2a12ef43dea X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 090657c9fb7094e4c1b05c1713d6c2a12ef43dea Gitweb: https://git.kernel.org/tip/090657c9fb7094e4c1b05c1713d6c2a12ef43dea Author: Akemi Yagi AuthorDate: Fri, 22 Sep 2017 22:11:53 +0000 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Sep 2017 12:21:05 -0300 perf tools: Fix syscalltbl build failure The build of kernel v4.14-rc1 for i686 fails on RHEL 6 with the error in tools/perf: util/syscalltbl.c:157: error: expected ';', ',' or ')' before '__maybe_unused' mv: cannot stat `util/.syscalltbl.o.tmp': No such file or directory Fix it by placing/moving: #include outside of #ifdef HAVE_SYSCALL_TABLE block. Signed-off-by: Akemi Yagi Cc: Alan Bartlett Link: http://lkml.kernel.org/r/oq41r8$1v9$1@blaine.gmane.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/syscalltbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/syscalltbl.c b/tools/perf/util/syscalltbl.c index 19e5db9..6eea7cf 100644 --- a/tools/perf/util/syscalltbl.c +++ b/tools/perf/util/syscalltbl.c @@ -15,9 +15,9 @@ #include "syscalltbl.h" #include +#include #ifdef HAVE_SYSCALL_TABLE -#include #include #include "string2.h" #include "util.h"