[tip: x86/merge] x86/platform/amd: Clean up the <asm/amd/hsmp.h> header guards a bit
From: tip-bot2 for Ingo Molnar
Date: Mon Apr 14 2025 - 04:15:19 EST
The following commit has been merged into the x86/merge branch of tip:
Commit-ID: 5bb144e52c666dc0082a90662a5406133415cacc
Gitweb: https://git.kernel.org/tip/5bb144e52c666dc0082a90662a5406133415cacc
Author: Ingo Molnar <mingo@xxxxxxxxxx>
AuthorDate: Sun, 13 Apr 2025 10:41:43 +02:00
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitterDate: Mon, 14 Apr 2025 09:34:17 +02:00
x86/platform/amd: Clean up the <asm/amd/hsmp.h> header guards a bit
- There's no need for a newline after the SPDX line
- But there's a need for one before the closing header guard.
Collect AMD specific platform header files in <asm/amd/*.h>.
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
Acked-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Cc: Carlos Bilbao <carlos.bilbao@xxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Mario Limonciello <superm1@xxxxxxxxxx>
Cc: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@xxxxxxx>
Link: https://lore.kernel.org/r/20250413084144.3746608-6-mingo@xxxxxxxxxx
---
arch/x86/include/asm/amd/hsmp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/amd/hsmp.h b/arch/x86/include/asm/amd/hsmp.h
index 03c2ce3..2137f62 100644
--- a/arch/x86/include/asm/amd/hsmp.h
+++ b/arch/x86/include/asm/amd/hsmp.h
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-
#ifndef _ASM_X86_AMD_HSMP_H_
#define _ASM_X86_AMD_HSMP_H_
@@ -13,4 +12,5 @@ static inline int hsmp_send_message(struct hsmp_message *msg)
return -ENODEV;
}
#endif
+
#endif /*_ASM_X86_AMD_HSMP_H_*/