18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28c2ecf20Sopenharmony_ci#ifndef _ASM_X86_HWCAP2_H
38c2ecf20Sopenharmony_ci#define _ASM_X86_HWCAP2_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/const.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci/* MONITOR/MWAIT enabled in Ring 3 */
88c2ecf20Sopenharmony_ci#define HWCAP2_RING3MWAIT		_BITUL(0)
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/* Kernel allows FSGSBASE instructions available in Ring 3 */
118c2ecf20Sopenharmony_ci#define HWCAP2_FSGSBASE			_BITUL(1)
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif
14