From: Arnaldo Carvalho de Melo Date: Sat, 22 Jan 2011 21:07:36 +0000 (-0200) Subject: perf tools: Add missing header, fixes build X-Git-Tag: v3.0~1620^2~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a860a60818e48134c60315bf32f87575771e6602;p=platform%2Fkernel%2Flinux-amlogic.git perf tools: Add missing header, fixes build We need the definiton for __always_inline in bitops.h to fix the build on distros where it isn't available or compiler.h doesn't get included indirectly. One of the fixes needed to build perf on RHEL4 systems, for instance. Cc: Eric Dumazet Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/include/linux/bitops.h b/tools/perf/util/include/linux/bitops.h index 8be0b96..305c848 100644 --- a/tools/perf/util/include/linux/bitops.h +++ b/tools/perf/util/include/linux/bitops.h @@ -2,6 +2,7 @@ #define _PERF_LINUX_BITOPS_H_ #include +#include #include #define BITS_PER_LONG __WORDSIZE