xref: /openbmc/linux/arch/x86/include/asm/amd_hsmp.h (revision 7ae5c03a)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 
3 #ifndef _ASM_X86_AMD_HSMP_H_
4 #define _ASM_X86_AMD_HSMP_H_
5 
6 #include <uapi/asm/amd_hsmp.h>
7 
8 #if IS_ENABLED(CONFIG_AMD_HSMP)
9 int hsmp_send_message(struct hsmp_message *msg);
10 #else
11 static inline int hsmp_send_message(struct hsmp_message *msg)
12 {
13 	return -ENODEV;
14 }
15 #endif
16 #endif /*_ASM_X86_AMD_HSMP_H_*/
17