Warning: This file is not a C or C++ file. It does not have highlighting.

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

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/arch/x86/include/asm/amd/hsmp.h