[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241210184610.2080727-3-kevin.brodsky@arm.com>
Date: Tue, 10 Dec 2024 18:46:08 +0000
From: Kevin Brodsky <kevin.brodsky@....com>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org,
Kevin Brodsky <kevin.brodsky@....com>,
bp@...en8.de,
dan.j.williams@...el.com,
dave.hansen@...ux.intel.com,
david@...hat.com,
jane.chu@...cle.com,
osalvador@...e.de,
tglx@...utronix.de
Subject: [PATCH 2/4] x86/sev: Explicitly include <linux/mm.h>
sev-guest.c relies on <asm/set_memory.h> including <linux/mm.h>,
but that include is about to go away. Explicitly include
<linux/mm.h> not to run into troubles.
Signed-off-by: Kevin Brodsky <kevin.brodsky@....com>
---
drivers/virt/coco/sev-guest/sev-guest.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/virt/coco/sev-guest/sev-guest.c b/drivers/virt/coco/sev-guest/sev-guest.c
index b699771be029..e134bee818fa 100644
--- a/drivers/virt/coco/sev-guest/sev-guest.c
+++ b/drivers/virt/coco/sev-guest/sev-guest.c
@@ -23,6 +23,7 @@
#include <linux/cleanup.h>
#include <linux/uuid.h>
#include <linux/configfs.h>
+#include <linux/mm.h>
#include <uapi/linux/sev-guest.h>
#include <uapi/linux/psp-sev.h>
--
2.47.0
Powered by blists - more mailing lists