From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S978119AbdDXVQ0 (ORCPT ); Mon, 24 Apr 2017 17:16:26 -0400 Received: from terminus.zytor.com ([65.50.211.136]:55843 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S977603AbdDXVQU (ORCPT ); Mon, 24 Apr 2017 17:16:20 -0400 Date: Mon, 24 Apr 2017 14:15:11 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org, acme@redhat.com, mingo@kernel.org Reply-To: mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, acme@redhat.com, linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Add the right header to obtain PERF_ALIGN() Git-Commit-ID: e8b3ae40151e94e30a82c2cf8efa5ab4f99c8abf 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: e8b3ae40151e94e30a82c2cf8efa5ab4f99c8abf Gitweb: http://git.kernel.org/tip/e8b3ae40151e94e30a82c2cf8efa5ab4f99c8abf Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 19 Apr 2017 21:33:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 24 Apr 2017 13:43:34 -0300 perf tools: Add the right header to obtain PERF_ALIGN() The util/event.h header needs PERF_ALIGN(), but wasn't including linux/kernel.h, where it is defined, instead it was getting it by luck by including map.h, which it doesn't need at all. Fix it by including the right header. Link: http://lkml.kernel.org/n/tip-nf3t9blzm5ncoxsczi8oy9mx@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index eb7a7b2..db2de64 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h @@ -3,9 +3,9 @@ #include #include +#include #include "../perf.h" -#include "map.h" #include "build-id.h" #include "perf_regs.h"