[tip: x86/merge] x86/platform/amd: Add standard header guards to <asm/amd/ibs.h>
From: tip-bot2 for Ingo Molnar
Date: Mon Apr 14 2025 - 04:15:51 EST
The following commit has been merged into the x86/merge branch of tip:
Commit-ID: 861c6b1185fbb2e3fa158aa3aca75d2f767db2a8
Gitweb: https://git.kernel.org/tip/861c6b1185fbb2e3fa158aa3aca75d2f767db2a8
Author: Ingo Molnar <mingo@xxxxxxxxxx>
AuthorDate: Sun, 13 Apr 2025 10:41:40 +02:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Mon, 14 Apr 2025 09:31:47 +02:00
x86/platform/amd: Add standard header guards to <asm/amd/ibs.h>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Acked-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Mario Limonciello <superm1@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20250413084144.3746608-3-mingo@xxxxxxxxxx
---
arch/x86/include/asm/amd/ibs.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/x86/include/asm/amd/ibs.h b/arch/x86/include/asm/amd/ibs.h
index 77f3a58..3ee5903 100644
--- a/arch/x86/include/asm/amd/ibs.h
+++ b/arch/x86/include/asm/amd/ibs.h
@@ -1,4 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_X86_AMD_IBS_H
+#define _ASM_X86_AMD_IBS_H
+
/*
* From PPR Vol 1 for AMD Family 19h Model 01h B1
* 55898 Rev 0.35 - Feb 5, 2021
@@ -151,3 +154,5 @@ struct perf_ibs_data {
};
u64 regs[MSR_AMD64_IBS_REG_COUNT_MAX];
};
+
+#endif /* _ASM_X86_AMD_IBS_H */