1/* Public domain. */
2
3#ifndef _ASM_HYPERVISOR_H
4#define _ASM_HYPERVISOR_H
5
6#if defined(__i386__) || defined(__amd64__)
7
8#define X86_HYPER_NATIVE	1
9#define X86_HYPER_MS_HYPERV	2
10
11static inline bool
12hypervisor_is_type(int type)
13{
14	return (type == X86_HYPER_NATIVE);
15}
16
17#endif
18
19#endif
20