summaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-01-27 16:22:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-01 09:16:13 +0100
commitbaa7fe1d15606e08ee9da1c21b987eca5072a421 (patch)
treeb557ab2f0a1397ddd24eeaed5d29381835ad71a3 /include/linux/dcache.h
parent7a583dfb4f3f34a581b0913dbee6bc222cfbd007 (diff)
downloadbarebox-baa7fe1d15606e08ee9da1c21b987eca5072a421.tar.gz
barebox-baa7fe1d15606e08ee9da1c21b987eca5072a421.tar.xz
Introduce include/linux/spinlock.h
Move spinlock related definitions to its original place. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index ea69b68a84..9f33e75f31 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -10,6 +10,8 @@
* with heavy changes by Linus Torvalds
*/
+#include <linux/spinlock.h>
+
#define IS_ROOT(x) ((x) == (x)->d_parent)
/* The hash is always the low bits of hash_len */