summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/amd_hsmp.h
blob: 03c2ce3edaf5a5a1b6b2ee74f38f0a039ade7bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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_*/