OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6918584
)
lib/lcm.c: replace include
author
Rasmus Villemoes
<linux@rasmusvillemoes.dk>
Thu, 12 Feb 2015 23:03:21 +0000
(15:03 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 13 Feb 2015 02:54:16 +0000
(18:54 -0800)
We don't need all the stuff kernel.h pulls in; just compiler.h since
export.h doesn't do necessary #includes. This removes more than 100
dependencies.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/lcm.c
patch
|
blob
|
history
diff --git
a/lib/lcm.c
b/lib/lcm.c
index
51cc6b1
..
e97dbd5
100644
(file)
--- a/
lib/lcm.c
+++ b/
lib/lcm.c
@@
-1,4
+1,4
@@
-#include <linux/
kernel
.h>
+#include <linux/
compiler
.h>
#include <linux/gcd.h>
#include <linux/export.h>
#include <linux/lcm.h>