summaryrefslogtreecommitdiff
path: root/include/linux/processor.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2019-06-08 11:39:05 +0200
committerHeiko Carstens <heiko.carstens@de.ibm.com>2019-06-15 12:25:49 +0200
commit7928260539f3a13b5b23a3fa0a7c0e4f5255940b (patch)
tree81f2dd7978a973cb58f0d2c1d27b080633d7af54 /include/linux/processor.h
parentb4e3133b65987f349a1cba96169c4485909c91ad (diff)
downloadlwn-7928260539f3a13b5b23a3fa0a7c0e4f5255940b.tar.gz
lwn-7928260539f3a13b5b23a3fa0a7c0e4f5255940b.zip
processor: remove spin_cpu_yield
spin_cpu_yield is unused, therefore remove it. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/linux/processor.h')
-rw-r--r--include/linux/processor.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/processor.h b/include/linux/processor.h
index dbc952eec869..dc78bdc7079a 100644
--- a/include/linux/processor.h
+++ b/include/linux/processor.h
@@ -32,15 +32,6 @@
#define spin_cpu_relax() cpu_relax()
#endif
-/*
- * spin_cpu_yield may be called to yield (undirected) to the hypervisor if
- * necessary. This should be used if the wait is expected to take longer
- * than context switch overhead, but we can't sleep or do a directed yield.
- */
-#ifndef spin_cpu_yield
-#define spin_cpu_yield() cpu_relax_yield()
-#endif
-
#ifndef spin_end
#define spin_end()
#endif