tools include: Include <linux/compiler.h> from asm/bug.h
authorNamhyung Kim <[email protected]>
Thu, 9 Jan 2014 14:00:55 +0000 (23:00 +0900)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 13 Jan 2014 13:14:13 +0000 (10:14 -0300)
Since it uses unlikely() macro inside WARN()

Signed-off-by: Namhyung Kim <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/include/asm/bug.h

index eca78df7b8f2e84c912dbd891a0a3850d1d7ba52..9e5f4846967fcf6e098c039c61b455f1a9326b64 100644 (file)
@@ -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...) ({          \