]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
xen/percpu: Drop unused xen/percpu.h includes
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 26 Jul 2019 19:26:24 +0000 (20:26 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 7 Aug 2019 13:06:28 +0000 (14:06 +0100)
None of these headers use any PER_CPU() infrastructure.

xen/rwlock.h however does, and picked it up transitively via xen/spinlock.h,
so include it properly.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/i387.h
xen/include/xen/multicall.h
xen/include/xen/rcupdate.h
xen/include/xen/rwlock.h
xen/include/xen/spinlock.h

index 434a7761a542da11021e3f1c92138fe07bcb7591..a783549db9910751281920d190a900fbb752aa43 100644 (file)
@@ -12,7 +12,6 @@
 #define __ASM_I386_I387_H
 
 #include <xen/types.h>
-#include <xen/percpu.h>
 
 /* Byte offset of the stored word size within the FXSAVE area/portion. */
 #define FPU_WORD_SIZE_OFFSET 511
index d0aa52009cd31c9b4a9f26d92075635eaa0a1605..ac8238660ac57a3751175bd5ace6e29b58464934 100644 (file)
@@ -5,7 +5,6 @@
 #ifndef __XEN_MULTICALL_H__
 #define __XEN_MULTICALL_H__
 
-#include <xen/percpu.h>
 #ifdef CONFIG_COMPAT
 #include <compat/xen.h>
 #endif
index 3402eb5caf5b5d7964518dcd9b188b93533e2a64..13850865edb79fa72d3f0e716f323ca243107d11 100644 (file)
@@ -33,7 +33,6 @@
 
 #include <xen/cache.h>
 #include <xen/spinlock.h>
-#include <xen/percpu.h>
 #include <xen/cpumask.h>
 #include <xen/preempt.h>
 
index 35657c56c4bd9d28f4cf9a124fd526173f9325f8..3dfea1ac2ad1e78e50fe0066c380747e23f9bae0 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef __RWLOCK_H__
 #define __RWLOCK_H__
 
+#include <xen/percpu.h>
 #include <xen/spinlock.h>
 
 #include <asm/atomic.h>
index a811b73bf307f433fe5dfb7054f03b0449099b3c..2c7415e23ae71a0411c442ffdc146a103f39aecf 100644 (file)
@@ -4,7 +4,6 @@
 #include <asm/system.h>
 #include <asm/spinlock.h>
 #include <asm/types.h>
-#include <xen/percpu.h>
 
 #ifndef NDEBUG
 struct lock_debug {