lkml.org 
[lkml]   [2020]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH 17/21] linux/bit_spinlock.h: Include linux/processor.h
Date
Needed for cpu_relax().

Signed-off-by: Will Deacon <will@kernel.org>
---
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
\
 
 \ /
  Last update: 2020-03-24 16:37    [W:0.226 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site