diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2015-02-13 00:03:21 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-13 03:54:16 +0100 |
commit | 6016daed58ee482a2f7684e93342e89139cf4419 (patch) | |
tree | 847018ac6a42cf5f02163837e636aa46fe5a03b6 /lib/lcm.c | |
parent | lib/percpu_ida.c: remove redundant includes (diff) | |
download | linux-6016daed58ee482a2f7684e93342e89139cf4419.tar.xz linux-6016daed58ee482a2f7684e93342e89139cf4419.zip |
lib/lcm.c: replace include
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>
Diffstat (limited to 'lib/lcm.c')
-rw-r--r-- | lib/lcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lcm.c b/lib/lcm.c index 51cc6b13cd52..e97dbd51e756 100644 --- 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> |