xref: /linux/arch/x86/include/asm/amd_hsmp.h (revision b4db9f840283caca0d904436f187ef56a9126eaa)
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