1 /* SPDX-License-Identifier: GPL-2.0 */ !! 1 #ifndef SMT_H 2 #ifndef __SMT_H !! 2 #define SMT_H 1 3 #define __SMT_H 1 << 4 3 5 /* !! 4 int smt_on(void); 6 * Returns true if SMT (aka hyperthreading) is << 7 * the online topology. << 8 */ << 9 bool smt_on(void); << 10 5 11 /* !! 6 #endif 12 * Returns true when system wide and all SMT t << 13 * user_requested_cpus map. << 14 */ << 15 bool core_wide(bool system_wide, const char *u << 16 << 17 #endif /* __SMT_H */ << 18 7
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.