xen/percpu: Drop unused xen/percpu.h includes

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>
This commit is contained in:
Andrew Cooper committed 2019-08-07 14:06:28 +01:00
1 parent 8a3d7a3215
commit 0aad20566b
5 files changed
+1 -4

No files matched your search

-1
View 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
-1
View 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
-1
View 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>
+1
View File
@@ -1,6 +1,7 @@
#ifndef __RWLOCK_H__
#define __RWLOCK_H__
#include <xen/percpu.h>
#include <xen/spinlock.h>
#include <asm/atomic.h>
-1
View 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 {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.