File Index
Files and directories
Sign in
FILE

hsmp.h

File preview with syntax highlighting.

linux-6.19.14/arch/x86/include/asm/amd/hsmp.h C
 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_*/
~/ Read-only file preview.