summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/sev.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-13 08:26:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-13 08:26:58 +0200
commitab6dc9a6c721c2eed867c157447764ae68ff9b7e (patch)
tree11771088cbeaaf7992d9c3729eb30169fdf4c760 /arch/x86/boot/compressed/sev.h
parent588d032e9e566997db3213dee145dbe3bda297b6 (diff)
parent82f2b0b97b36ee3fcddf0f0780a9a0825d52fec3 (diff)
Merge 6.15-rc6 into usb-next
We need the USB fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/boot/compressed/sev.h')
-rw-r--r--arch/x86/boot/compressed/sev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/sev.h b/arch/x86/boot/compressed/sev.h
index 4e463f33186d..d3900384b8ab 100644
--- a/arch/x86/boot/compressed/sev.h
+++ b/arch/x86/boot/compressed/sev.h
@@ -13,12 +13,14 @@
bool sev_snp_enabled(void);
void snp_accept_memory(phys_addr_t start, phys_addr_t end);
u64 sev_get_status(void);
+bool early_is_sevsnp_guest(void);
#else
static inline bool sev_snp_enabled(void) { return false; }
static inline void snp_accept_memory(phys_addr_t start, phys_addr_t end) { }
static inline u64 sev_get_status(void) { return 0; }
+static inline bool early_is_sevsnp_guest(void) { return false; }
#endif