mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

- 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
16 lines
364 B
C
16 lines
364 B
C
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
#ifndef _ASM_X86_AMD_HSMP_H_
|
|
#define _ASM_X86_AMD_HSMP_H_
|
|
|
|
#include <uapi/asm/amd_hsmp.h>
|
|
|
|
#if IS_ENABLED(CONFIG_AMD_HSMP)
|
|
int hsmp_send_message(struct hsmp_message *msg);
|
|
#else
|
|
static inline int hsmp_send_message(struct hsmp_message *msg)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
#endif
|
|
|
|
#endif /*_ASM_X86_AMD_HSMP_H_*/
|