summaryrefslogtreecommitdiffstats
path: root/lib/lcm.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-02-12 15:03:21 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-12 18:54:16 -0800
commit6016daed58ee482a2f7684e93342e89139cf4419 (patch)
tree847018ac6a42cf5f02163837e636aa46fe5a03b6 /lib/lcm.c
parent6918584aad8e9c6b9a9be74b15bf9e7dafc2d691 (diff)
downloadlinux-6016daed58ee482a2f7684e93342e89139cf4419.tar.bz2
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.c2
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>