Skip to content

Commit 6c9eeb5

Browse files
andy-shevMarc Zyngier
authored andcommitted
KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
arm_vgic.h does not require all the stuff that kernel.h provides. Replace kernel.h inclusion with the list of what is really being used. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e938edd commit 6c9eeb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/kvm/arm_vgic.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
#ifndef __KVM_ARM_VGIC_H
66
#define __KVM_ARM_VGIC_H
77

8-
#include <linux/kernel.h>
8+
#include <linux/bits.h>
99
#include <linux/kvm.h>
1010
#include <linux/irqreturn.h>
11+
#include <linux/kref.h>
12+
#include <linux/mutex.h>
1113
#include <linux/spinlock.h>
1214
#include <linux/static_key.h>
1315
#include <linux/types.h>

0 commit comments

Comments
 (0)