2021-05-26 19:09:36 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
|
|
#ifndef _ASM_X86_HWCAP2_H
|
|
|
|
#define _ASM_X86_HWCAP2_H
|
|
|
|
|
2021-07-20 16:20:39 +00:00
|
|
|
#include <linux/const.h>
|
|
|
|
|
2021-05-26 19:09:36 +00:00
|
|
|
/* MONITOR/MWAIT enabled in Ring 3 */
|
2021-07-20 16:20:39 +00:00
|
|
|
#define HWCAP2_RING3MWAIT _BITUL(0)
|
2021-05-26 19:09:36 +00:00
|
|
|
|
|
|
|
/* Kernel allows FSGSBASE instructions available in Ring 3 */
|
2021-07-20 16:20:39 +00:00
|
|
|
#define HWCAP2_FSGSBASE _BITUL(1)
|
2021-05-26 19:09:36 +00:00
|
|
|
|
|
|
|
#endif
|