blob: c7560ac80672781a0fc6c5c314621cbcac9dfc26 [file] [log] [blame]
From 30202d1996c96177fd9eeb5efc2d1869b7939a75 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 25 Apr 2013 18:31:39 +0200
Subject: [PATCH 2/5] spinlock: include cache.h
It is used by DEFINE_SPINLOCK
Reported-by: <Arpit Goel <arpitgoel@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
include/linux/spinlock_types_rt.h | 2 ++
1 file changed, 2 insertions(+)
--- a/include/linux/spinlock_types_rt.h
+++ b/include/linux/spinlock_types_rt.h
@@ -5,6 +5,8 @@
#error "Do not include directly. Include spinlock_types.h instead"
#endif
+#include <linux/cache.h>
+
/*
* PREEMPT_RT: spinlocks - an RT mutex plus lock-break field:
*/