xref: /OK3568_Linux_fs/kernel/arch/x86/include/uapi/asm/hwcap2.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun #ifndef _ASM_X86_HWCAP2_H
3*4882a593Smuzhiyun #define _ASM_X86_HWCAP2_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun #include <linux/const.h>
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun /* MONITOR/MWAIT enabled in Ring 3 */
8*4882a593Smuzhiyun #define HWCAP2_RING3MWAIT		_BITUL(0)
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun /* Kernel allows FSGSBASE instructions available in Ring 3 */
11*4882a593Smuzhiyun #define HWCAP2_FSGSBASE			_BITUL(1)
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #endif
14