diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-01-09 23:00:55 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-01-13 10:14:13 -0300 |
commit | 741a0c59032faeddac80a6237f3d7846231a3740 (patch) | |
tree | aa4caf75701eae6cffce94360ab1a4961314ded8 /tools/include/asm | |
parent | 6619a53ef7572b9eaf7aa71ff7f74c0d06b3817b (diff) |
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/include/asm')
-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 eca78df7b8f..9e5f4846967 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...) ({ \ |