Add an smt_on() function to return if SMT is enabled or disabled. Used in the next patch.
Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Link: http://lkml.kernel.org/r/20170811232634.30465-7-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo
#ifndef SMT_H #define SMT_H 1 int smt_on(void); #endif