From f01c6489ad6ceb8d06eae0c5123fc6cf39276ff1 Mon Sep 17 00:00:00 2001 From: "Borislav Petkov (AMD)" Date: Thu, 4 Dec 2025 13:48:07 +0100 Subject: [PATCH] x86/sev: Add internal header guards All headers need guards ifdeffery. Reviewed-by: Tom Lendacky Signed-off-by: Borislav Petkov (AMD) Link: https://patch.msgid.link/20251204124809.31783-3-bp@kernel.org --- arch/x86/coco/sev/internal.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/coco/sev/internal.h b/arch/x86/coco/sev/internal.h index c58c47c68ab6f..af991f1da0957 100644 --- a/arch/x86/coco/sev/internal.h +++ b/arch/x86/coco/sev/internal.h @@ -1,4 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __X86_COCO_SEV_INTERNAL_H__ +#define __X86_COCO_SEV_INTERNAL_H__ #define DR7_RESET_VALUE 0x400 @@ -85,3 +87,4 @@ enum es_result sev_es_ghcb_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt u64 get_hv_features(void); const struct snp_cpuid_table *snp_cpuid_get_table(void); +#endif /* __X86_COCO_SEV_INTERNAL_H__ */ -- 2.47.3