* [PATCH v2 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
@ 2022-01-04 15:19 Andy Shevchenko
2022-01-04 17:18 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2022-01-04 15:19 UTC (permalink / raw)
To: Marc Zyngier, linux-arm-kernel, kvmarm, linux-kernel
Cc: James Morse, Alexandru Elisei, Suzuki K Poulose, Andy Shevchenko
The arm_vgic.h does not require all the stuff the kernel.h provides.
Replace kernel.h inclusion with the list of what is really being used.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v2: updated commit message by dropping unrelated paragraph (Marc)
include/kvm/arm_vgic.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h
index e602d848fc1a..bb30a6803d9f 100644
--- a/include/kvm/arm_vgic.h
+++ b/include/kvm/arm_vgic.h
@@ -5,9 +5,11 @@
#ifndef __KVM_ARM_VGIC_H
#define __KVM_ARM_VGIC_H
-#include <linux/kernel.h>
+#include <linux/bits.h>
#include <linux/kvm.h>
#include <linux/irqreturn.h>
+#include <linux/kref.h>
+#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/static_key.h>
#include <linux/types.h>
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
2022-01-04 15:19 [PATCH v2 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions Andy Shevchenko
@ 2022-01-04 17:18 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2022-01-04 17:18 UTC (permalink / raw)
To: kvmarm, linux-kernel, Andy Shevchenko, linux-arm-kernel
Cc: Suzuki K Poulose, Alexandru Elisei, James Morse
On Tue, 4 Jan 2022 17:19:40 +0200, Andy Shevchenko wrote:
> The arm_vgic.h does not require all the stuff the kernel.h provides.
> Replace kernel.h inclusion with the list of what is really being used.
Applied to next, thanks!
[1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions
commit: 6c9eeb5f4a9bb2b11a40fd0f15efde7bd33ee908
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-04 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04 15:19 [PATCH v2 1/1] KVM: arm64: vgic: Replace kernel.h with the necessary inclusions Andy Shevchenko
2022-01-04 17:18 ` Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).