summaryrefslogtreecommitdiffstats
path: root/fs/pstore
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 /fs/pstore
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 'fs/pstore')
-rw-r--r--fs/pstore/platform.c1
-rw-r--r--fs/pstore/ram.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c
index dc2611f732..98fd26d2e0 100644
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@ -23,6 +23,7 @@
#include <linux/pstore.h>
#include <linux/string.h>
#include <linux/kernel.h>
+#include <linux/spinlock.h>
#include <malloc.h>
#include <printk.h>
#include <module.h>
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
index dc31ed16f9..66b4975a30 100644
--- a/fs/pstore/ram.c
+++ b/fs/pstore/ram.c
@@ -29,6 +29,7 @@
#include <linux/types.h>
#include <linux/string.h>
#include <linux/log2.h>
+#include <linux/spinlock.h>
#include <malloc.h>
#include <printk.h>
#include <stdio.h>