[RFC PATCH 17/21] linux/bit_spinlock.h: Include linux/processor.h

From: Will Deacon
Date: Tue Mar 24 2020 - 11:38:04 EST


Needed for cpu_relax().

Signed-off-by: Will Deacon <will@xxxxxxxxxx>
---
include/linux/bit_spinlock.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/bit_spinlock.h b/include/linux/bit_spinlock.h
index bbc4730a6505..505daa942527 100644
--- a/include/linux/bit_spinlock.h
+++ b/include/linux/bit_spinlock.h
@@ -6,6 +6,7 @@
#include <linux/preempt.h>
#include <linux/atomic.h>
#include <linux/bug.h>
+#include <linux/processor.h>

/*
* bit-based spin_lock()
--
2.20.1