xref: /linux/arch/x86/include/asm/amd_hsmp.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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
hsmp_send_message(struct hsmp_message * msg)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