diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-01-09 15:00:55 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-01-13 14:14:13 +0100 |
commit | 741a0c59032faeddac80a6237f3d7846231a3740 (patch) | |
tree | aa4caf75701eae6cffce94360ab1a4961314ded8 /tools | |
parent | perf record: Add --initial-delay option (diff) | |
download | linux-741a0c59032faeddac80a6237f3d7846231a3740.tar.xz linux-741a0c59032faeddac80a6237f3d7846231a3740.zip |
tools include: Include <linux/compiler.h> from asm/bug.h
Since it uses unlikely() macro inside WARN()
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1389276059-8829-5-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/include/asm/bug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/asm/bug.h b/tools/include/asm/bug.h index eca78df7b8f2..9e5f4846967f 100644 --- a/tools/include/asm/bug.h +++ b/tools/include/asm/bug.h @@ -1,6 +1,8 @@ #ifndef _TOOLS_ASM_BUG_H #define _TOOLS_ASM_BUG_H +#include <linux/compiler.h> + #define __WARN_printf(arg...) do { fprintf(stderr, arg); } while (0) #define WARN(condition, format...) ({ \ |