projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6619a53
)
tools include: Include <linux/compiler.h> from asm/bug.h
author
Namhyung Kim
<
[email protected]
>
Thu, 9 Jan 2014 14:00:55 +0000
(23:00 +0900)
committer
Arnaldo 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
patch
|
blob
|
history
diff --git
a/tools/include/asm/bug.h
b/tools/include/asm/bug.h
index eca78df7b8f2e84c912dbd891a0a3850d1d7ba52..9e5f4846967fcf6e098c039c61b455f1a9326b64 100644
(file)
--- 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...) ({ \