]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/platform/amd: Clean up the <asm/amd/hsmp.h> header guards a bit
authorIngo Molnar <mingo@kernel.org>
Sun, 13 Apr 2025 08:41:43 +0000 (10:41 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 14 Apr 2025 07:34:17 +0000 (09:34 +0200)
 - 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@kernel.org>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: Carlos Bilbao <carlos.bilbao@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mario Limonciello <superm1@kernel.org>
Cc: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20250413084144.3746608-6-mingo@kernel.org
arch/x86/include/asm/amd/hsmp.h

index 03c2ce3edaf5a5a1b6b2ee74f38f0a039ade7bb1..2137f62853ed22dfe6db4f4825a053cf8104e4b6 100644 (file)
@@ -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_*/