GIF89a;
Direktori : /usr/src/kernels/3.10.0-1160.81.1.el7.centos.plus.x86_64/include/linux/sched/ |
Current File : //usr/src/kernels/3.10.0-1160.81.1.el7.centos.plus.x86_64/include/linux/sched/smt.h |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_SMT_H #define _LINUX_SCHED_SMT_H #include <linux/static_key.h> #ifdef CONFIG_SCHED_SMT extern struct static_key sched_smt_present; static __always_inline bool sched_smt_active(void) { return static_key_false(&sched_smt_present); } #else static inline bool sched_smt_active(void) { return false; } #endif void arch_smt_update(void); #endif