From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031676AbdDTLLs (ORCPT ); Thu, 20 Apr 2017 07:11:48 -0400 Received: from terminus.zytor.com ([65.50.211.136]:40449 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S939753AbdDTLLp (ORCPT ); Thu, 20 Apr 2017 07:11:45 -0400 Date: Thu, 20 Apr 2017 04:09:05 -0700 From: tip-bot for Arnaldo Carvalho de Melo Message-ID: Cc: tglx@linutronix.de, dsahern@gmail.com, linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com, adrian.hunter@intel.com, jolsa@kernel.org, namhyung@kernel.org, wangnan0@huawei.com, acme@redhat.com Reply-To: jolsa@kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, dsahern@gmail.com, hpa@zytor.com, adrian.hunter@intel.com, tglx@linutronix.de, wangnan0@huawei.com, namhyung@kernel.org, acme@redhat.com To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] tools include: Include missing headers for fls() and types in linux/log2.h Git-Commit-ID: a12a4e023a55f058178afea1ada3ce7bf4db94c3 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: a12a4e023a55f058178afea1ada3ce7bf4db94c3 Gitweb: http://git.kernel.org/tip/a12a4e023a55f058178afea1ada3ce7bf4db94c3 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 17 Apr 2017 16:22:30 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 19 Apr 2017 13:01:49 -0300 tools include: Include missing headers for fls() and types in linux/log2.h Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-7wj865zidu5ylf87i6i7v6z7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/include/linux/log2.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/include/linux/log2.h b/tools/include/linux/log2.h index d5677d3..0325cef 100644 --- a/tools/include/linux/log2.h +++ b/tools/include/linux/log2.h @@ -12,6 +12,9 @@ #ifndef _TOOLS_LINUX_LOG2_H #define _TOOLS_LINUX_LOG2_H +#include +#include + /* * non-constant log of base 2 calculators * - the arch may override these in asm/bitops.h if they can be implemented